ScaleGridOptionsBase.GridOffset Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll

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:

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