.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Axis.AutoMajorUnit Property

Gets whether the major unit for the value or date axis is evaluated automatically.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


bool AutoMajorUnit { get; }

Property Value

Type Description

true, if the major unit is calculated automatically; otherwise, false.


Utilizing the Axis.SetAutoMajorUnit method for automatic major unit evaluation sets the AutoMajorUnit property to true. To the contrary, using the Axis.MajorUnit property to specify the major unit value manually changes AutoMajorUnit to false.

See Also