Chart for WinRT
Rotate Axis Labels

Use the Axis.AnnoAngle property to rotate the axis annotation counterclockwise from the specified number of degrees. This property is especially useful if the X-axis is crowded with annotation. Rotating the annotations +/- 30 or 60 degrees allows a much larger number of annotations in a confined space on horizontal axes. By utilizing the Axis.AnnoAngle property, the X-axis annotation does not overlap. You can use the following XAML Markup or code to set this property:

XAML
Copy Code
<Chart:C1Chart.View>
  <Chart:ChartView>
    <Chart:ChartView.AxisX>
      <Chart:Axis Min="0" MajorUnit="10" AnnoFormat="c" AutoMin="false" AutoMax="false" Max="200" AnnoAngle="60"  />
    </Chart:ChartView.AxisX>
  </Chart:ChartView>
</Chart:C1Chart.View>

 

C#
Copy Code
c1Chart1.View.AxisX.AnnoAngle = 60;

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback