/** * Constructor * * @param array $options Default option array * @return void * @ignore */ public function __construct(array $options = array()) { parent::__construct(); $this->addElement('xAxis', new ezcGraphChartElementNumericAxis()); $this->elements['xAxis']->axisLabelRenderer = new ezcGraphAxisCenteredLabelRenderer(); $this->elements['xAxis']->position = ezcGraph::LEFT; $this->addElement('yAxis', new ezcGraphChartElementLabeledAxis()); $this->elements['yAxis']->axisLabelRenderer = new ezcGraphAxisBoxedLabelRenderer(); $this->elements['yAxis']->position = ezcGraph::BOTTOM; $this->renderer = new ezcGraphHorizontalRenderer(); }
public function __construct() { parent::__construct(); $this->init(); }