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

 Syntax

C#  Copy Code

public float TopLabelOffset { get; }

Visual Basic  Copy Code

Public ReadOnly 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