2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * @author Martynas Mickevicius <mmartynas@gmail.com>
11 require_once 'pma_pchart_single.php';
14 * implements single bar chart
17 class PMA_pChart_single_bar
extends PMA_pChart_single
19 public function __construct($data, $options = null)
21 parent
::__construct($data, $options);
25 * draws single bar chart
27 protected function drawChart()
30 // use stacked bar graph function, because it gives bars with alpha
31 $this->chart
->drawStackedBarGraph($this->dataSet
->GetData(),$this->dataSet
->GetDataDescription(),70);