Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AxisTimeUnits Enum

Lists values used to specify the time units for the date axis.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum AxisTimeUnits

#Members

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.

#Related API Members

The following properties accept/return AxisTimeUnits values:

#Remarks

The values listed by this enumeration are used to set the Axis.BaseTimeUnit, Axis.MajorTimeUnit and Axis.MinorTimeUnit properties.

See Also