Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Axis.MajorTimeUnit Property

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

Namespace: DevExpress.Spreadsheet.Charts

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

Declaration

AxisTimeUnits MajorTimeUnit { get; set; }

Property Value

Type Description
AxisTimeUnits

An AxisTimeUnits enumeration value specifying the time unit.

Remarks

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