# Rotate Annotations

## Content

In FlexChart for WinForms, use the [Angle](/componentone/api/win/online-flexchart/dotnet-api/C1.Win.FlexChart.10/C1.Win.Chart.DataLabel.Angle.html) property of the [Text](/componentone/api/win/online-flexchart/dotnet-api/C1.Win.FlexChart.10/C1.Win.Chart.Annotation.Text.html) class (`C1.Win.Chart.Annotation`) to rotate text annotations. By default, text annotations render horizontally without rotation.
The [Angle](/componentone/api/win/online-flexchart/dotnet-api/C1.Win.FlexChart.10/C1.Win.Chart.DataLabel.Angle.html) property sets the rotation angle, in degrees, for a text annotation.

| Property | Type | Default | Description |
| -------- | ---- | ------- | ----------- |
| [Angle](/componentone/api/win/online-flexchart/dotnet-api/C1.Win.FlexChart.10/C1.Win.Chart.DataLabel.Angle.html) | `double` | `0` | Gets or sets the rotation angle in degrees for the annotation text. |

The following example shows a text annotation before and after rotation. When no angle is specified, the text renders horizontally without rotation:

```auto
//Annoted text before rotation
var  = new C1.Win.Chart.Annotation.Text("Facebook inc to acquire LifeRail.")
{
    SeriesIndex = 0,
    PointIndex = 20,
    Attachment = AnnotationAttachment.DataIndex,
    Position = AnnotationPosition.Left,
       
}; 
```

![A FlexChart showing the text annotation "Facebook inc to acquire LifeRail." rendered horizontally without rotation.](https://cdn.mescius.io/document-site-files/images/13ef049a-dbc7-444f-94c2-9a9cd1c2f895/251feae1-90b0-4d20-bf08-454aa539b726-20261123.e834a6.png?width=800)
Setting the [Angle](/componentone/api/win/online-flexchart/dotnet-api/C1.Win.FlexChart.10/C1.Win.Chart.DataLabel.Angle.html) property to 45 rotates the annotation text:

```auto
//Annotated text after rotation is applied.
var txtFB = new C1.Win.Chart.Annotation.Text("Facebook inc to acquire LifeRail.")
{
    SeriesIndex = 0,
    PointIndex = 20,
    Attachment = AnnotationAttachment.DataIndex,
    Position = AnnotationPosition.Left,
    Angle = 45
       
};
```

![The same FlexChart with the text annotation rotated 45 degrees using the Angle property.](https://cdn.mescius.io/document-site-files/images/13ef049a-dbc7-444f-94c2-9a9cd1c2f895/9c92eedb-303b-41ab-8a2f-50f592cfa0a5-20261123.048efa.png?width=800)