MindFusion.Charting Programmer's Guide

BarChart.TopLabelOffset Property

See Also
 





Gets or sets the offset of the top label to the edge of the bar.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public float TopLabelOffset { get; set; }

Visual Basic  Copy Code

Public Property TopLabelOffset As Single

 Property Value

A float value that specifies the offset.

 Remarks

The property specifies at what distance labels at chart bars are drawn measured from the edge of the bar top. The offset is preserved no matter what the value of the TopLabelRotAngle is. Top labels are drawn when the TopLabelType property is not LabelType.Empty. Custom top labels are set with TopLabels.

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

Default value for the TopLabelOffset property is 5f.

 See Also