forgot to swap label names

This commit is contained in:
Martynas Mickevicius
2010-07-27 18:26:50 +03:00
parent 0604e81526
commit 53c071941a

View File

@@ -26,13 +26,13 @@ abstract class PMA_pChart_single extends PMA_pChart_chart
$this->dataSet->SetAbsciseLabelSerie("Keys");
$xLabel = $this->getXLabel();
if (empty($xLabel)) {
$this->setXLabel($keys[0]);
}
$yLabel = $this->getYLabel();
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());