SetXLabelAngle — Set the text angle for X labels
$plot->SetXLabelAngle($xla
)
SetXLabelAngle
sets the text angle for X tick labels.
Unless SetXDataLabelAngle is called, the same angle is
also used for X data labels.
If using TrueType fonts, any angle can be used.
If using built-in GD fonts, only 0 degree and 90 degree text can be used.
Through PHPlot-5.0.7, SetXLabelAngle sets the angle for both tick and data labels. Starting with PHPlot-5.1.0, these can be controlled independently using SetXDataLabelAngle. For compatibility, data label angles default to the value set for tick label angles with SetXLabelAngle.