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

ContinuousNumericScaleOptions.GridSpacing Property

Gets or sets the numeric grid step in grid alignment units.

Namespace: DevExpress.Xpf.Charts

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

Declaration

public double GridSpacing { get; set; }

Property Value

Type Description
Double

A Double value which specifies the numeric grid step.

Property Paths

You can access this nested property as listed below:

Object Type Path to GridSpacing
AxisY2D
.NumericScaleOptions.GridSpacing
AxisY3D
.NumericScaleOptions.GridSpacing
CircularAxisY2D
.NumericScaleOptions.GridSpacing
PolarAxisY2D
.NumericScaleOptions.GridSpacing
RadarAxisY2D
.NumericScaleOptions.GridSpacing
SecondaryAxisY2D
.NumericScaleOptions.GridSpacing
ZAxis3D
.NumericScaleOptions.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 ContinuousNumericScaleOptions.AutoGrid to false, and specify the GridSpacing property value.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GridSpacing property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also