Back to Devexpress

QualitativeScaleOptions.GridSpacing Property

wpf-devexpress-dot-xpf-dot-charts-dot-qualitativescaleoptions-ddc33afc.md

latest2.7 KB
Original Source

QualitativeScaleOptions.GridSpacing Property

Gets or sets the interval between grid lines and major tickmarks.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public double GridSpacing { get; set; }
vb
Public Property GridSpacing As Double

Property Value

TypeDescription
Double

The interval between grid lines and major tickmarks.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to GridSpacing
ArgumentAxis3D

.QualitativeScaleOptions .GridSpacing

| | AxisX2D |

.QualitativeScaleOptions .GridSpacing

| | AxisX3D |

.QualitativeScaleOptions .GridSpacing

| | RadarAxisX2D |

.QualitativeScaleOptions .GridSpacing

|

Remarks

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

The following images demonstrate how the GridSpacing property works.

GridSpacing = 3;GridSpacing = 4;

See Also

QualitativeScaleOptions Class

QualitativeScaleOptions Members

DevExpress.Xpf.Charts Namespace