Chart for WinForms Task-Based Help / Rotating Data Labels
In This Topic
Rotating Data Labels
In This Topic

To rotate a datalabel for example to 90 degrees, use the following code:

To write code in Visual Basic

Visual Basic
Copy Code
dataSeries.DataLabel.Style.Rotation = RotationEnum.Rotate90

To write code in C#

C#
Copy Code
dataSeries.DataLabel.Style.Rotation = RotationEnum.Rotate90;
See Also