Gets or sets the offset of the top label to the edge of the bar.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public float TopLabelOffset { get; set; } |
Visual Basic
![]() |
---|
Public Property TopLabelOffset As Single |
A float value that specifies the offset.
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.