Code cleanup, mostly added extra spaces

This commit is contained in:
Herman van Rink
2010-08-26 17:01:12 +02:00
parent 0ea410c3e4
commit 51c9c1763e
9 changed files with 20 additions and 18 deletions

View File

@@ -247,10 +247,10 @@ function PMA_chart_results($data, &$chartSettings)
function PMA_handle_chart_err($errors)
{
if (in_array(ERR_NO_GD, $errors)) {
PMA_warnMissingExtension('GD', false, 'GD extension is needed for charts.');
PMA_warnMissingExtension('GD', false, __('GD extension is needed for charts.'));
}
else if (in_array(ERR_NO_JSON, $errors)) {
PMA_warnMissingExtension('JSON', false, 'JSON encoder is needed for chart tooltips.');
PMA_warnMissingExtension('JSON', false, __('JSON encoder is needed for chart tooltips.'));
}
}

View File

@@ -91,7 +91,8 @@ class PMA_pChart_multi_radar extends PMA_pChart_multi
$borderOffset += 40;
// Draw the radar chart
$this->chart->drawRadarAxis($this->dataSet->GetData(),$this->dataSet->GetDataDescription(),TRUE,$borderOffset,120,120,120,230,230,230,-1,2);
$this->chart->drawRadarAxis($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), TRUE, $borderOffset,
120, 120, 120, 230, 230, 230, -1, 2);
$this->chart->drawFilledRadar($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), 50, $borderOffset);
}
}

View File

@@ -79,7 +79,8 @@ class PMA_pChart_single_radar extends PMA_pChart_single
// the least ammount that radar is away from the graph area side.
$borderOffset += 40;
$this->chart->drawRadarAxis($this->dataSet->GetData(),$this->dataSet->GetDataDescription(),TRUE,$borderOffset,120,120,120,230,230,230,-1,2);
$this->chart->drawRadarAxis($this->dataSet->GetData(), $this->dataSet->GetDataDescription(),
TRUE, $borderOffset, 120, 120, 120, 230, 230, 230, -1, 2);
$this->chart->drawFilledRadar($this->dataSet->GetData(), $this->dataSet->GetDataDescription(), 50, $borderOffset);
}
}