Add vim mode lines
[phpmyadmin.git] / libraries / chart / pma_pchart_single_bar.php
blob257d8a9f277fcf5dce9b60b0e2bf659697dea23b
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @author Martynas Mickevicius <mmartynas@gmail.com>
5 * @package phpMyAdmin
6 */
8 /**
9 *
11 require_once 'pma_pchart_single.php';
13 /**
14 * implements single bar chart
15 * @package phpMyAdmin
17 class PMA_pChart_single_bar extends PMA_pChart_single
19 public function __construct($data, $options = null)
21 parent::__construct($data, $options);
24 /**
25 * draws single bar chart
27 protected function drawChart()
29 // Draw the bar chart
30 // use stacked bar graph function, because it gives bars with alpha
31 $this->chart->drawStackedBarGraph($this->dataSet->GetData(),$this->dataSet->GetDataDescription(),70);