Translation update done using Pootle.
[phpmyadmin/sankalp_k.git] / libraries / chart / pma_pchart_single_bar.php
blobe6519700a6551ba8d09845570f269482b18f1929
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin
5 */
7 /**
8 *
9 */
10 require_once 'pma_pchart_single.php';
12 /**
13 * implements single bar chart
14 * @package phpMyAdmin
16 class PMA_pChart_single_bar extends PMA_pChart_single
18 public function __construct($data, $options = null)
20 parent::__construct($data, $options);
23 /**
24 * draws single bar chart
26 protected function drawChart()
28 // Draw the bar chart
29 // use stacked bar graph function, because it gives bars with alpha
30 $this->chart->drawStackedBarGraph($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), 70);