diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-09-05 08:24:42 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-09-05 08:24:42 +0000 |
commit | 59192857ba65c14388bbe5b1633a4f1ac346e9d1 (patch) | |
tree | 46248b526996a538badd3fd8db82244e4c6efc4e /src/charts/line.php | |
parent | 0619fc50ccb698c85f7f7d4367e01dde406b8f9a (diff) | |
download | zetacomponents-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.php | 4 |
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 ) ); |