SetYDataLabelAngle
Prev | PHPlot Function Reference | Next

## SetYDataLabelAngle

SetYDataLabelAngle — Set the text angle for Y data labels

## Synopsis

    $plot->SetYDataLabelAngle($ydla)

## Description

`SetYDataLabelAngle` sets the text angle for Y data labels. These are the labels that can be used with bar charts and stacked bar charts. See SetYDataLabelPos. 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

`$ydla`

  Desired angle for label text, in degrees.

## Notes

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.)

## History

This function was added in PHPlot-5.1.0. Through PHPlot-5.0.7, Y data labels were always drawn at 0 degrees.

Prev | Up | Next
SetYAxisPosition | Home | SetYDataLabelPos