summaryrefslogtreecommitdiffstats
path: root/src/charts/line.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/line.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/line.php')
-rw-r--r--src/charts/line.php10
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;
}
/**
OpenPOWER on IntegriCloud