LabelAngle

Gets or Sets the rotation angle for DataPoint labels.

 

Type: Double

Namespace: Visifire.Charts

Assembly:

Silverlight:

SLVisifire.Charts (in SLVisifire.Charts.dll)

WPF:

WPFVisifire.Charts (in WPFVisifire.Charts.dll)

 

This attribute applies to:

 

Syntax:

<vc:Chart ... >

<vc:Chart.Series>

<vc:DataSeries LabelAngle="-30">

.

.

.

</vc:DataSeries>

</vc:Chart.Series>

</vc:Chart>

 

Below is the chart after setting LabelAngle property in DataSeries.

 

 

 

Remarks:

  1. The LabelAngle takes values between -90 to 90 (including the bounds). Any value outside this range will result in an exception.

  2. This property is applicable for Column, Bar, Line, Area, Point, Bubble, CandleStick and Stock charts only.

  3. If LabelAngle is set in DataSeries/DataPoint, the default auto placement for DataPoint labels will not work.

  4. LabelAngle also helps to avoid overlapping of DataPoint labels. For more info, refer to Avoiding DataPoint Labels Overlap.