Back to Devexpress

Axis.AutoMajorUnit Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-axis-494bdad2.md

latest1.7 KB
Original Source

Axis.AutoMajorUnit Property

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

Namespace : DevExpress.Spreadsheet.Charts

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool AutoMajorUnit { get; }
vb
ReadOnly Property AutoMajorUnit As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

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

MajorUnit

SetAutoMajorUnit()

Axis Interface

Axis Members

DevExpress.Spreadsheet.Charts Namespace