Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / chart / pma_pchart_multi_line.php
blobbd7b6ea0efcac56474e8f228efa92e7570e7d3c6
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin
5 */
7 /**
9 */
10 require_once 'pma_pchart_multi.php';
12 /**
13 * implements multi line chart
14 * @package phpMyAdmin
16 class PMA_pChart_multi_line extends PMA_pChart_multi
18 public function __construct($data, $options = null)
20 parent::__construct($data, $options);
22 $this->settings['scale'] = SCALE_NORMAL;
25 /**
26 * draws multi line chart
28 protected function drawChart()
30 parent::drawChart();
32 // Draw the bar chart
33 $this->chart->drawLineGraph($this->dataSet->GetData(), $this->dataSet->GetDataDescription());
34 $this->chart->drawPlotGraph($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), 3, 1, -1, -1, -1, TRUE);