summaryrefslogtreecommitdiffstats
path: root/src/axis/labeled.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/axis/labeled.php')
-rw-r--r--src/axis/labeled.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/axis/labeled.php b/src/axis/labeled.php
index 1d202ce..cf1277f 100644
--- a/src/axis/labeled.php
+++ b/src/axis/labeled.php
@@ -35,6 +35,13 @@ class ezcGraphChartElementLabeledAxis extends ezcGraphChartElementAxis
*/
const MAX_LABEL_COUNT = 10;
+ public function __construct( array $options = array() )
+ {
+ $this->axisLabelRenderer = new ezcGraphAxisCenteredLabelRenderer();
+
+ parent::__construct( $options );
+ }
+
protected function increaseKeys( $array, $startKey )
{
foreach ( $array as $key => $value )
OpenPOWER on IntegriCloud