Code cleanup, mostly added extra spaces
This commit is contained in:
@@ -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.'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user