summaryrefslogtreecommitdiffstats
path: root/src/charts/pie.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-03-08 12:01:24 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-03-08 12:01:24 +0000
commitb08ae56b53938333b051b91b0a1f912428864950 (patch)
tree68f089c05feab87cbaf0c3cfcd36407b3cce755f /src/charts/pie.php
parenteff7a30681180181dc22b9500e6db45a7a916183 (diff)
downloadzetacomponents-graph-b08ae56b53938333b051b91b0a1f912428864950.zip
zetacomponents-graph-b08ae56b53938333b051b91b0a1f912428864950.tar.gz
- Added feature #9511: Added helper functions to create image maps an link SVG
images in ezcGraphTools
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r--src/charts/pie.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/charts/pie.php b/src/charts/pie.php
index 7ec1d7a..782ad32 100644
--- a/src/charts/pie.php
+++ b/src/charts/pie.php
@@ -107,7 +107,7 @@ class ezcGraphPieChart extends ezcGraphChart
$renderer->drawPieSegment(
$boundings,
- new ezcGraphContext( $datasetName, $label ),
+ new ezcGraphContext( $datasetName, $label, $dataset->url[$label] ),
$dataset->color[$label],
$angle,
$angle += $value / $sum * 360,
@@ -249,6 +249,8 @@ class ezcGraphPieChart extends ezcGraphChart
{
$this->renderer->render( $file );
}
+
+ $this->renderedFile = $file;
}
/**
OpenPOWER on IntegriCloud