ContinuousDateTimeScaleOptions.GridSpacing Property

Gets or sets the date-time grid step in grid alignment units.

Namespace: DevExpress.Xpf.Charts

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

Declaration

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

Property Value

Type Description
Double

A Double value which specifies the date-time grid step.

Property Paths

You can access this nested property as listed below:

Show 11 property paths
Library Object Type Path to GridSpacing
WPF Controls AxisY2D
.DateTimeScaleOptions.GridSpacing
AxisY3D
.DateTimeScaleOptions.GridSpacing
CircularAxisY2D
.DateTimeScaleOptions.GridSpacing
PolarAxisY2D
.DateTimeScaleOptions.GridSpacing
RadarAxisY2D
.DateTimeScaleOptions.GridSpacing
SecondaryAxisY2D
.DateTimeScaleOptions.GridSpacing
Silverlight Controls AxisY2D
.DateTimeScaleOptions.GridSpacing
CircularAxisY2D
.DateTimeScaleOptions.GridSpacing
PolarAxisY2D
.DateTimeScaleOptions.GridSpacing
RadarAxisY2D
.DateTimeScaleOptions.GridSpacing
SecondaryAxisY2D
.DateTimeScaleOptions.GridSpacing

Remarks

This feature manages label placement along the axis.

By default, the GridSpacing is set to the default value, so the grid step is calculated automatically. To change the grid step interval for axis labeling, set the ContinuousDateTimeScaleOptions.AutoGrid to false, and specify the GridSpacing property value.

See Also