Axis.MinorTimeUnit Property
Gets or sets the time unit for minor tick marks on the date axis.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Description |
---|---|
AxisTimeUnits | An AxisTimeUnits enumeration value specifying the time unit. |
Available values:
Name | Description |
---|---|
Auto | Specifies that the time unit for the date axis should be set automatically. |
Days | Specifies that days should be used as the time unit for the date axis, so the chart data will be plotted along the axis in days. |
Months | Specifies that months should be used as the time unit for the date axis, so the chart data will be plotted along the axis in months. |
Years | Specifies that years should be used as the time unit for the date axis, so the chart data will be plotted along the axis in years. |
Remarks
To specify the base unit for the date axis, use the Axis.BaseTimeUnit property. To set the distance between minor tick marks and gridlines on the axis, use the Axis.MinorUnit property (to specify the interval of tick marks explicitly) or the Axis.SetAutoMinorUnit method (to evaluate the interval of tick marks automatically).