# Rotating the Y-Axis Title

## Content



To rotate the Y-Axis title, use the **C1Chart.ChartArea.AxisY.Rotation** enum like in the following example:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
c1Chart2.ChartArea.AxisY.Rotation = RotationEnum.Rotate180
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
c1Chart2.ChartArea.AxisY.Rotation = RotationEnum.Rotate180;
```

DOC-DETAILS-TAG-CLOSE

## See Also

[Rotating Data Labels](/componentone/docs/win/online-chart2d/chartforwinformstask/rotatingdatalabels)