From 53c071941a7523ae35f8fdacb6ee9acdbda1aebc Mon Sep 17 00:00:00 2001 From: Martynas Mickevicius Date: Tue, 27 Jul 2010 18:26:50 +0300 Subject: [PATCH] forgot to swap label names --- libraries/chart/pma_pchart_single.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/chart/pma_pchart_single.php b/libraries/chart/pma_pchart_single.php index d89c59646..a64a6a2cd 100644 --- a/libraries/chart/pma_pchart_single.php +++ b/libraries/chart/pma_pchart_single.php @@ -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());