ContinuousNumericScaleOptions.GridSpacing Property
Gets or sets the numeric grid step in grid alignment units.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
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 |
|
AxisY3D |
|
CircularAxisY2D |
|
ZAxis3D |
|
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.