Add vim mode lines
[phpmyadmin.git] / libraries / chart / pma_pchart_stacked_bar.php
blobc8423426a710cc93ebae19412d95195ce551689e
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 /**
11 require_once 'pma_pchart_multi.php';
13 /**
14 * implements stacked bar chart
15 * @package phpMyAdmin
17 class PMA_pChart_stacked_bar extends PMA_pChart_multi
19 public function __construct($data, $options = null)
21 parent::__construct($data, $options);
24 /**
25 * draws stacked bar chart
27 protected function drawChart()
29 parent::drawChart();
31 // Draw the bar chart
32 $this->chart->drawStackedBarGraph($this->dataSet->GetData(),$this->dataSet->GetDataDescription(),70);