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/line.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/line.php')
-rw-r--r-- | src/charts/line.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/charts/line.php b/src/charts/line.php index 0f5aa42..f58d1c6 100644 --- a/src/charts/line.php +++ b/src/charts/line.php @@ -195,7 +195,7 @@ class ezcGraphLineChart extends ezcGraphChart $renderer->drawDataLine( $boundings, - new ezcGraphContext( $datasetName, $key ), + new ezcGraphContext( $datasetName, $key, $data->url[$key] ), $data->color->default, ( $lastPoint === false ? $point : $lastPoint ), $point, @@ -211,7 +211,7 @@ class ezcGraphLineChart extends ezcGraphChart { $renderer->drawDataHighlightText( $boundings, - new ezcGraphContext( $datasetName, $key ), + new ezcGraphContext( $datasetName, $key, $data->url[$key] ), $point, $yAxisNullPosition, $nr[$data->displayType->default], @@ -254,7 +254,7 @@ class ezcGraphLineChart extends ezcGraphChart $renderer->drawBar( $boundings, - new ezcGraphContext( $datasetName, $key ), + new ezcGraphContext( $datasetName, $key, $data->url[$key] ), $data->color->default, $point = $this->elements['xAxis']->axisLabelRenderer->modifyChartDataPosition( $this->elements['yAxis']->axisLabelRenderer->modifyChartDataPosition( @@ -272,7 +272,7 @@ class ezcGraphLineChart extends ezcGraphChart { $renderer->drawDataHighlightText( $boundings, - new ezcGraphContext( $datasetName, $key ), + new ezcGraphContext( $datasetName, $key, $data->url[$key] ), $point, $yAxisNullPosition, $nr[$data->displayType->default], @@ -399,6 +399,8 @@ class ezcGraphLineChart extends ezcGraphChart { $this->renderer->render( $file ); } + + $this->renderedFile = $file; } /** |