officefileapi-devexpress-dot-spreadsheet-dot-charts-ad65ecfb.md
Lists values used to specify the time units for the date axis.
Namespace : DevExpress.Spreadsheet.Charts
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum AxisTimeUnits
Public Enum AxisTimeUnits
| 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.
|
The following properties accept/return AxisTimeUnits values:
The values listed by this enumeration are used to set the Axis.BaseTimeUnit, Axis.MajorTimeUnit and Axis.MinorTimeUnit properties.
See Also