ScaleGridOptionsBase.GridOffset Property

Gets or sets the offset of grid lines and major tickmarks.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll


public double GridOffset { get; set; }
Public Property GridOffset As Double

Property Value

Type Description

The grid offset, in units specified by NumericScaleOptions.MeasureUnit(DateTimeScaleOptions.MeasureUnit)


By default, the ScaleGridOptionsBase.AutoGrid is true, and the GridOffset is set automatically. If you change the grid offset, ScaleGridOptionsBase.AutoGrid will be set to false automatically.

See Also