Skip to main content

ManualNumericScaleOptions.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.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public bool AutoGrid { get; set; }

Property Value

Type Description
Boolean

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

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 images demonstrate how the AutoGrid property works.

AutoGrid = true,

GridSpacing=1

AutoGrid = false,

GridSpacing=3

ManualNumericScale_AutoGridTrue

ManualNumericScale_AutoGridFalse

To learn more, see Data Aggregation.

See Also