summaryrefslogtreecommitdiffstats
path: root/src/options
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2008-06-18 09:48:07 +0000
committerKore Nordmann <github@kore-nordmann.de>2008-06-18 09:48:07 +0000
commit56e1ea6d93e5a9327b1d14890e61c3d210cd2381 (patch)
treebcfd093ae07b0b3ce1c14a17dbe5ff1e2958bece /src/options
parent3f1e0ff648e5f70b90d2c2b0fbdb26ea6eafde1f (diff)
downloadzetacomponents-graph-56e1ea6d93e5a9327b1d14890e61c3d210cd2381.zip
zetacomponents-graph-56e1ea6d93e5a9327b1d14890e61c3d210cd2381.tar.gz
- Implemented feature #13103: Different axes end styles
Diffstat (limited to 'src/options')
-rw-r--r--src/options/renderer.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options/renderer.php b/src/options/renderer.php
index c8465dc..0c1814e 100644
--- a/src/options/renderer.php
+++ b/src/options/renderer.php
@@ -76,6 +76,10 @@
* @property bool $syncAxisFonts
* Synchronize fonts of axis. With the defaut true value, the only
* the fonts of the yAxis will be used.
+ * @property bool $axisEndStyle
+ * Style of axis end markers. Defauls to arrow heads, but you may
+ * also use all symbol constants defined ein the ezcGraph class,
+ * especially ezcGraph::NO_SYMBOL.
*
* @version //autogentag//
* @package Graph
@@ -111,6 +115,7 @@ class ezcGraphRendererOptions extends ezcGraphChartOptions
$this->properties['pieVerticalSize'] = .5;
$this->properties['pieHorizontalSize'] = .25;
$this->properties['syncAxisFonts'] = true;
+ $this->properties['axisEndStyle'] = ezcGraph::ARROW;
parent::__construct( $options );
}
@@ -168,6 +173,7 @@ class ezcGraphRendererOptions extends ezcGraphChartOptions
case 'titlePosition':
case 'titleAlignement':
case 'pieChartGleamBorder':
+ case 'axisEndStyle':
if ( !is_numeric( $propertyValue ) ||
( $propertyValue < 0 ) )
{
OpenPOWER on IntegriCloud