DrawScale -> (DrawXLines / DrawYLines)
Code:
$format = array(
'Mode' => SCALE_MODE_MANUAL, // echelle manuelle
'ManualScale' => $AxisBoundaries, // val min/max de l'axe Y
'LabelingMethod' => LABELING_ALL, // will write all X labels.
'LabelSkip' => $maxMesures, // libellés skip
'Factors' => array(5), // pas (step) de l'axe Y
'LabelRotation' => 45, // rotation des libellés X
// 'GridAlpha' => 100,
'DrawXLines' => true,
'DrawYLines' => false,
'GridR' => 0,
'GridG' => 0,
'GridB' => 0,
);
When I use this code, only Y lines are displayed, and when I use 'DrawYLines' => true, only X lines are displayed, so unless I have misunderstood how to use it, I think they are switched