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

ContinuousNumericScaleOptions.AutoGrid Property

Gets or sets a value that specifies whether the spacing of grid lines is calculated automatically based upon the major tickmarks of the axis.

Namespace: DevExpress.Xpf.Charts

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public bool AutoGrid { get; set; }

Property Value

Type Description
Boolean

true, if grid spacing is performed automatically; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoGrid
AxisY2D
.NumericScaleOptions .AutoGrid
AxisY3D
.NumericScaleOptions .AutoGrid
CircularAxisY2D
.NumericScaleOptions .AutoGrid
PolarAxisY2D
.NumericScaleOptions .AutoGrid
RadarAxisY2D
.NumericScaleOptions .AutoGrid
SecondaryAxisY2D
.NumericScaleOptions .AutoGrid
ZAxis3D
.NumericScaleOptions .AutoGrid

Remarks

The AutoGrid property is tightly interrelated to the ManualDateTimeScaleOptions.GridSpacing property. Changing the value of one property affects the other. By default, the AutoGrid property is set to true and the grid line spacing is calculated automatically.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoGrid 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