2 /* vim: set expandtab sw=4 ts=4 sts=4: */
10 require_once 'pma_pchart_single.php';
13 * implements single line chart
16 class PMA_pChart_single_line
extends PMA_pChart_single
18 public function __construct($data, $options = null)
20 parent
::__construct($data, $options);
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);