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

AxisBase.GridSpacingAuto Property

OBSOLETE

This property is obsolete now. Use the NumericScaleOptions.AutoGrid and DateTimeScaleOptions.AutoGrid properties instead for the numeric and date-time scales.

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

Assembly: DevExpress.XtraCharts.v20.2.dll

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

Declaration

[Obsolete("This property is obsolete now. Use the NumericScaleOptions.AutoGrid and DateTimeScaleOptions.AutoGrid properties instead for the  numeric and date-time scales.")]
[Browsable(false)]
public virtual bool GridSpacingAuto { get; set; }

Property Value

Type Description
Boolean

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

Remarks

This API is obsolete now. Use ScaleGridOptionsBase.AutoGrid of the AxisBase.NumericScaleOptions or AxisBase.DateTimeOptions property instead.

See Also