3.4.0-rc1
[phpmyadmin/thilanka.git] / libraries / chart / pma_pchart_single_line.php
blob799a48b756e97d3b6ca446706e668d3e9205d271
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin
5 */
7 /**
9 */
10 require_once 'pma_pchart_single.php';
12 /**
13 * implements single line chart
14 * @package phpMyAdmin
16 class PMA_pChart_single_line extends PMA_pChart_single
18 public function __construct($data, $options = null)
20 parent::__construct($data, $options);
23 /**
24 * draws single line chart
26 protected function drawChart()
28 // Draw the line chart
29 $this->chart->drawLineGraph($this->dataSet->GetData(), $this->dataSet->GetDataDescription());
30 $this->chart->drawPlotGraph($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), 3, 1, -1, -1, -1, TRUE);