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.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public float TopLabelRotAngle { get; }

Visual Basic  Copy Code

Public ReadOnly Property TopLabelRotAngle As Single

 Property Value

A float value that specifies the rotation angle of the top bar label in degrees, measured clockwise.

 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