예제 #1
0
 /**
  * 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();
 }
예제 #2
0
파일: graph-phing.php 프로젝트: kingsj/core
 public function __construct()
 {
     parent::__construct();
     $this->init();
 }