MindFusion.Charting Programmer's Guide

BarChart.TopLabelRotAngle Property

See Also
 





Gets or sets the rotation angle of labels at the top of vertical chart bars. 

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public float TopLabelRotAngle { get; set; }

Visual Basic  Copy Code

Public Property TopLabelRotAngle As Single

 Property Value

A float value that specifies the angle, in degrees.

 Remarks

The property specifies the angle of rotation for labels at the top of the bars. When the TopLabelRotAngle property is set to 90, the labels are drawn vertically. If the TopLabelRotAngle is 0, the labels are drawn without any rotation, that is horizontally. Values between 0 and 90 rotate the text between absolutely vertical and absolutely horizontal.

The property is useful only for vertical bars. The top labels of horizontal bars are always drawn horizontally.

The type of top labels is set with the TopLabelType property. Custom top labels are specified with the TopLabels property. 

Bars can also have inner labels. They are set with InnerLabelType and InnerLabels.

Default value for the TopLabelRotAngle property is 0.

 See Also