/**
  * Init's the default chart axis.
  *
  * @return void
  */
 protected function initAxis()
 {
     parent::initAxis();
     $this->yAxis = new ezcGraphChartElementDateAxis();
     $this->yAxis->axisLabelRenderer = new ezcGraphAxisCenteredLabelRenderer();
     $this->yAxis->dateFormat = 'i:s';
     $this->yAxis->font->minFontSize = 10;
     $this->yAxis->font->maxFontSize = 12;
 }
Example #2
0
 /**
  * Initializes this chart implementation.
  *
  * @return void
  */
 protected function init()
 {
     parent::init();
     $this->showSymbol = true;
     $this->options->fillLines = false;
 }