forgot to swap label names
This commit is contained in:
@@ -26,13 +26,13 @@ abstract class PMA_pChart_single extends PMA_pChart_chart
|
|||||||
|
|
||||||
$this->dataSet->SetAbsciseLabelSerie("Keys");
|
$this->dataSet->SetAbsciseLabelSerie("Keys");
|
||||||
|
|
||||||
$xLabel = $this->getXLabel();
|
|
||||||
if (empty($xLabel)) {
|
|
||||||
$this->setXLabel($keys[0]);
|
|
||||||
}
|
|
||||||
$yLabel = $this->getYLabel();
|
$yLabel = $this->getYLabel();
|
||||||
if (empty($yLabel)) {
|
if (empty($yLabel)) {
|
||||||
$this->setYLabel($keys[1]);
|
$this->setYLabel($keys[0]);
|
||||||
|
}
|
||||||
|
$xLabel = $this->getXLabel();
|
||||||
|
if (empty($xLabel)) {
|
||||||
|
$this->setXLabel($keys[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->dataSet->SetXAxisName($this->getXLabel());
|
$this->dataSet->SetXAxisName($this->getXLabel());
|
||||||
|
Reference in New Issue
Block a user