SetYDataLabelAngle — Set the text angle for Y data labels




SetYDataLabelAngle sets the text angle for Y 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.



Desired angle for label text, in degrees.


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

By default, Y data labels are drawn at 0 degrees. (This is different from X data labels, which default to the angle set for X tick labels.)


This function was added in PHPlot-5.1.0. Through PHPlot-5.0.7, Y data labels were always drawn at 0 degrees. 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.