Skip to main content
A newer version of this page is available. .

ScaleGridOptionsBase.GridOffset Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public double GridOffset { get; set; }

Property Value

Type Description
Double

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

Property Paths

You can access this nested property as listed below:

Remarks

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