summaryrefslogtreecommitdiffstats
path: root/src/charts/line.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2008-12-04 16:03:47 +0000
committerKore Nordmann <github@kore-nordmann.de>2008-12-04 16:03:47 +0000
commitb0bd4a7169a375ff74266d5cb15e817b1484dc07 (patch)
tree4d6aed10aaec67892ce1f0137726ebef60b6722e /src/charts/line.php
parentb322a8d3c8f26d9df21244319c3a2aa281795d07 (diff)
downloadzetacomponents-graph-b0bd4a7169a375ff74266d5cb15e817b1484dc07.zip
zetacomponents-graph-b0bd4a7169a375ff74266d5cb15e817b1484dc07.tar.gz
- Implemented feature #014010: Possibility to set x/y offsets for
highlightValue (Patch by Markus Lervik)
Diffstat (limited to 'src/charts/line.php')
-rw-r--r--src/charts/line.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/charts/line.php b/src/charts/line.php
index ed342e8..d990c36 100644
--- a/src/charts/line.php
+++ b/src/charts/line.php
@@ -395,7 +395,9 @@ class ezcGraphLineChart extends ezcGraphChart
$this->options->highlightFont,
( $data->highlightValue[$key] ? $data->highlightValue[$key] : $value ),
$this->options->highlightSize + $this->options->highlightFont->padding * 2,
- ( $this->options->highlightLines ? $data->color[$key] : null )
+ ( $this->options->highlightLines ? $data->color[$key] : null ),
+ ( $this->options->highlightXOffset ? $this->options->highlightXOffset : 0 ),
+ ( $this->options->highlightYOffset ? $this->options->highlightYOffset : 0 )
);
}
OpenPOWER on IntegriCloud