Gets or sets the offset of grid labels.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public float GridLabelOffset { get; set; } |
Visual Basic
![]() |
---|
Public Property GridLabelOffset As Single |
A float number.
The property specifies the offset of custom grid labels to the nearest chart object - the grid bracket (if GridLabelPointer is greater than zero), the axis labels (if LabelType is not Empty) or the axis. The property sets the offset for labels at all axes - X, Y and Y2 (if present).
The property is used only with custom grids, for example, the GridType is set to Custom. Grid labels are set with XGridLabels, YGridLabels and Y2GridLabels.
Default value for the GridLabelOffset property is 5f.