summaryrefslogtreecommitdiffstats
path: root/src/charts/line.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-09-05 08:24:42 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-09-05 08:24:42 +0000
commit59192857ba65c14388bbe5b1633a4f1ac346e9d1 (patch)
tree46248b526996a538badd3fd8db82244e4c6efc4e /src/charts/line.php
parent0619fc50ccb698c85f7f7d4367e01dde406b8f9a (diff)
downloadzetacomponents-graph-59192857ba65c14388bbe5b1633a4f1ac346e9d1.zip
zetacomponents-graph-59192857ba65c14388bbe5b1633a4f1ac346e9d1.tar.gz
- Implemented feature #11247: Custom highlight values in line and bar charts.
Thanks to Elger Thiele for the basic patch.
Diffstat (limited to 'src/charts/line.php')
-rw-r--r--src/charts/line.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charts/line.php b/src/charts/line.php
index 3c5e0f8..6391704 100644
--- a/src/charts/line.php
+++ b/src/charts/line.php
@@ -277,7 +277,7 @@ class ezcGraphLineChart extends ezcGraphChart
$nr[$data->displayType->default],
$count[$data->displayType->default],
$this->options->highlightFont,
- $value,
+ ( $data->highlightValue[$key] ? $data->highlightValue[$key] : $value ),
$this->options->highlightSize,
( $this->options->highlightLines ? $data->color[$key] : null )
);
@@ -356,7 +356,7 @@ class ezcGraphLineChart extends ezcGraphChart
$nr[$data->displayType->default],
$count[$data->displayType->default],
$this->options->highlightFont,
- $value,
+ ( $data->highlightValue[$key] ? $data->highlightValue[$key] : $value ),
$this->options->highlightSize,
( $this->options->highlightLines ? $data->color[$key] : null )
);
OpenPOWER on IntegriCloud