diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-11-21 12:45:01 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-11-21 12:45:01 +0000 |
commit | 239d9f061efaa7d016544d831247d1809663af43 (patch) | |
tree | e2dfd35658bf7d5f2ca340c7d00dcf82a2c549b6 /src/charts | |
parent | 2b694c004e4ea1d54aa73ed513aa89850e60e690 (diff) | |
download | zetacomponents-graph-239d9f061efaa7d016544d831247d1809663af43.zip zetacomponents-graph-239d9f061efaa7d016544d831247d1809663af43.tar.gz |
- Show zero value by default for odometer axis
Diffstat (limited to 'src/charts')
-rw-r--r-- | src/charts/odometer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charts/odometer.php b/src/charts/odometer.php index a418831..101db8b 100644 --- a/src/charts/odometer.php +++ b/src/charts/odometer.php @@ -28,6 +28,7 @@ class ezcGraphOdometerChart extends ezcGraphChart $this->addElement( 'axis', new ezcGraphChartElementNumericAxis()); $this->elements['axis']->axisLabelRenderer = new ezcGraphAxisCenteredLabelRenderer(); + $this->elements['axis']->axisLabelRenderer->showZeroValue = true; $this->elements['axis']->position = ezcGraph::LEFT; $this->elements['axis']->axisSpace = .05; } |