Differential D350 Diff 976 branches/5.2.x/core/units/general/libchart/classes/view/chart/BarChart.php
Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/general/libchart/classes/view/chart/BarChart.php
Show All 29 Lines | |||||
protected $hasSeveralSerie; | protected $hasSeveralSerie; | ||||
/** | /** | ||||
* Creates a new bar chart. | * Creates a new bar chart. | ||||
* | * | ||||
* @param integer width of the image | * @param integer width of the image | ||||
* @param integer height of the image | * @param integer height of the image | ||||
*/ | */ | ||||
protected function LibchartBarChart($width, $height) { | protected function __construct($width, $height) { | ||||
parent::LibchartChart($width, $height); | parent::__construct($width, $height); | ||||
// Initialize the bounds | // Initialize the bounds | ||||
$this->bound = new LibchartBound(); | $this->bound = new LibchartBound(); | ||||
$this->bound->setLowerBound(0); | $this->bound->setLowerBound(0); | ||||
} | } | ||||
/** | /** | ||||
* Compute the axis. | * Compute the axis. | ||||
▲ Show 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | |||||
$serie = current($serieList); | $serie = current($serieList); | ||||
$pointList = $serie->getPointList(); | $pointList = $serie->getPointList(); | ||||
} else if ($this->dataSet instanceof LibchartXYDataSet) { | } else if ($this->dataSet instanceof LibchartXYDataSet) { | ||||
$pointList = $this->dataSet->getPointList(); | $pointList = $this->dataSet->getPointList(); | ||||
} | } | ||||
return $pointList; | return $pointList; | ||||
} | } | ||||
} | } | ||||
No newline at end of file |