Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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