3.4.0-rc1
[phpmyadmin/thilanka.git] / libraries / chart / pma_pchart_multi_bar.php
blob619ef1a17075b8d9a7d6619db3e3450e8bc4ef01
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin
5 */
7 /**
9 */
10 require_once 'pma_pchart_multi.php';
12 /**
13 * implements multi bar chart
14 * @package phpMyAdmin
16 class PMA_pChart_multi_bar extends PMA_pChart_multi
18 public function __construct($data, $options = null)
20 parent::__construct($data, $options);
22 $this->settings['scale'] = SCALE_NORMAL;
25 /**
26 * draws multi bar graph
28 protected function drawChart()
30 parent::drawChart();
32 // Draw the bar chart
33 $this->chart->drawBarGraph($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), 70);