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.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
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:

Show 24 property paths

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