diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-03-08 12:01:24 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-03-08 12:01:24 +0000 |
commit | b08ae56b53938333b051b91b0a1f912428864950 (patch) | |
tree | 68f089c05feab87cbaf0c3cfcd36407b3cce755f /src/charts/pie.php | |
parent | eff7a30681180181dc22b9500e6db45a7a916183 (diff) | |
download | zetacomponents-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.php | 4 |
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; } /** |