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

QualitativeScaleOptions.GridOffset Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public double GridOffset { get; set; }

Property Value

Type Description
Double

The grid offset.

Property Paths

You can access this nested property as listed below:

Object Type Path to GridOffset
ArgumentAxis3D
AxisX2D
AxisX3D
RadarAxisX2D
SecondaryAxisX2D
XAxis3D
YAxis3D

Remarks

By default, the QualitativeScaleOptions.AutoGrid is true, and the GridOffset is set automatically. If you want to change the grid offset, QualitativeScaleOptions.AutoGrid should be set to false first.

The following images demonstrate how the GridOffset property works.

GridSpacing = 4;

GridOffset = 0;

GridSpacing = 4;

GridOffset = 2;

QualitativeScaleOptions-GridOffset_0

QualitativeScaleOptions-GridOffset_2

See Also