コード例 #1
0
ファイル: custom_chart.php プロジェクト: mediasadc/alba
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->driver = new ezcGraphSvgDriver();
     $this->renderer = new ezcGraphRenderer3d();
     $this->palette = new ezcGraphPaletteEzBlue();
     $this->title = 'Test chart';
     $this->data['testdata'] = new ezcGraphArrayDataSet(array('foo' => 123, 'bar' => 43, 'blubb' => 453));
 }
コード例 #2
0
ファイル: PieChart.php プロジェクト: hpbuniat/phpUnderControl
 /**
  * Constructs a new pie chart instance.
  */
 public function __construct()
 {
     parent::__construct();
     $this->init();
 }