# Customizing Chart Labels

## Content



### Chart Labels Rotation

Use the [Rotation](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Style.Rotation.html) property to set or change the rotation of a ChartLabel. Rotation is available at design time under the **DefaultLabelStyle** node of the **ChartLabels** object or through the **Label Collection Editor**. For more information on the **Label Collection Editor**, see [Label Collection Editor](/componentone/docs/win/online-chart2d/designtimesupport/c1chartcollectionedi/labelcollectionedito).

The [Rotation](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Style.Rotation.html) property can be set to Rotate0, Rotate90, Rotate180, or Rotate270. If you would like to set a specific angle other than 90, 180, or 270 degrees then you can override these values and specify the clockwise rotation angle around the connection point of the label.

The [RotationOverride](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Label.RotationOverride.html) property is useful for charts that require special labeling like psychometric charts where there is multiple axes with constant lines of various parameters such as enthalpy, humidity, temperature, etc.


> type=note
> **Note**: The [RotationOverride](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Label.RotationOverride.html) does not apply to **Radial** or **RadialText** compass values.

### Chart Labels Connecting Line

Set the [Connected](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.DataLabel.Connected.html) property to **True** to show a connecting line from the data coordinate to the associated label. An numeric value should be specified for the [Offset](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.DataLabel.Offset.html) property to make room to draw the connecting line from the data coordinate to the label.

The following image shows a connecting line with an offset value of 10 pixels:

<br />![](https://cdn.mescius.io/document-site-files/images/70bd33a2-280e-4cc3-a1c0-7b827eceb8aa/imagesext/image9_181.png)

### Chart Labels Border

Use the **BorderStyle** and **Thickness** border properties to customize the border’s ChartLabel. These properties are available at design time under the Style node of the ChartLabels Collection Editor. For more information on the ChartLabels Collection Editor, see [Label Collection Editor](/componentone/docs/win/online-chart2d/designtimesupport/c1chartcollectionedi/labelcollectionedito). This property can also be set in the DefaultLabelStyle node.

For more information on how to customize the label’s appearance see, [Modify the Appearance of the Chart Labels using the Properties Window](/componentone/docs/win/online-chart2d/chartforwinformstask/creatingandformattin/modifytheappearanceo).

**Chart Labels Colors**

Use the .NET Color properties to set the font for the ChartLabels. The color properties are available at design time under the Style node of the **ChartLabels Collection Editor**. For more information on the **ChartLabels Collection Editor**, see [Label Collection Editor](/componentone/docs/win/online-chart2d/designtimesupport/c1chartcollectionedi/labelcollectionedito). See [Chart Colors](/componentone/docs/win/online-chart2d/customizingchartelem/chartcolors) for more information. This property can also be set in the **DefaultLabelStyle** node.

### Chart Labels Font

Use the font properties to customize the font used for a ChartLabel. These are available at design time under the Style node of the **ChartLabels Collection Editor**. For more information on the ChartLabels Collection Editor, see [Label Collection Editor](/componentone/docs/win/online-chart2d/designtimesupport/c1chartcollectionedi/labelcollectionedito). This property can also be set in the **DefaultLabelStyle** node.

## See Also

[Setting a Default Label Style](/componentone/docs/win/online-chart2d/chartinglabels/settingadefaultlabel)