summaryrefslogtreecommitdiffstats
path: root/src/options
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2008-06-18 10:50:57 +0000
committerKore Nordmann <github@kore-nordmann.de>2008-06-18 10:50:57 +0000
commit5632023751fcbd0c8fecd0d665ebf918b3a798b6 (patch)
treea9d0c25a51955e8b35da5df8a44b4d4c536fbdb0 /src/options
parent3c878c9db2814028445e85b3f8204151d4e1e1fd (diff)
downloadzetacomponents-graph-5632023751fcbd0c8fecd0d665ebf918b3a798b6.zip
zetacomponents-graph-5632023751fcbd0c8fecd0d665ebf918b3a798b6.tar.gz
- Implemented feature #13102: Axes not extending beyond zero in line charts
Diffstat (limited to 'src/options')
-rw-r--r--src/options/renderer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/options/renderer.php b/src/options/renderer.php
index 0c1814e..7245f60 100644
--- a/src/options/renderer.php
+++ b/src/options/renderer.php
@@ -80,6 +80,9 @@
* 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.
+ * @property bool $shortAxis
+ * Defines wheather to render the axis extending the chart boundings
+ * or stop them at the chart boundings. Deafults to false.
*
* @version //autogentag//
* @package Graph
@@ -116,6 +119,7 @@ class ezcGraphRendererOptions extends ezcGraphChartOptions
$this->properties['pieHorizontalSize'] = .25;
$this->properties['syncAxisFonts'] = true;
$this->properties['axisEndStyle'] = ezcGraph::ARROW;
+ $this->properties['shortAxis'] = false;
parent::__construct( $options );
}
@@ -185,6 +189,7 @@ class ezcGraphRendererOptions extends ezcGraphChartOptions
case 'showSymbol':
case 'syncAxisFonts':
+ case 'shortAxis':
if ( !is_bool( $propertyValue ) )
{
throw new ezcBaseValueException( $propertyName, $propertyValue, 'bool' );
OpenPOWER on IntegriCloud