SetXDataLabelAngle

SetXDataLabelAngle — Set the text angle for X data labels

Synopsis

$plot->SetXDataLabelAngle($xdla)

Description

SetXDataLabelAngle sets the text angle 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.

Parameters

$xdla

Desired angle for label text, in degrees.

Notes

This function applies to both X axis data labels and X data value labels. See Section 3.6, “Labels” for more information on data labels.

By default, X Data Labels are drawn at the same angle as X Tick Labels, as set with SetXLabelAngle.

History

This function was added to PHPlot in 5.1.0. Through PHPlot-5.0.7, SetXLabelAngle set the angle for both text and data labels.

Through PHPlot-5.0.7, there was a deprecated function by the same name that simply called SetXLabelAngle.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.