ICanvas.RotateLabel
ICanvas
procedure RotateLabel(X, Y: Integer; Const St: WideString; RotDegree: Integer);
Type Library
TeeChartx
Description
This method will draw a rotated text string at the specified xy coordinates with the RotDegree rotation angle. RotDegree values must be between 0 and 360. The string is drawn on the Chart.Canvas.
See the Windows API SetTextAlign procedure for text alignment.
Example [Visual Basic]:
Private Sub TChart1_OnAfterDraw()
TChart1.Canvas.RotateLabel 100, 100, "Hello", 90
End Sub