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

Axis.MajorTimeUnit Property

Gets or sets the time unit for major tick marks on the date axis.

Namespace: DevExpress.Spreadsheet.Charts

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


AxisTimeUnits MajorTimeUnit { get; set; }

Property Value

Type Description

An AxisTimeUnits enumeration value specifying the time unit.


To specify the base unit for the date axis, use the Axis.BaseTimeUnit property. To set the distance between major tick marks and gridlines on the axis, use the Axis.MajorUnit property (to specify the interval of tick marks explicitly) or the Axis.SetAutoMajorUnit method (to evaluate the interval of tick marks automatically).

See Also