Back to Devexpress

AxisTimeUnits Enum

officefileapi-devexpress-dot-spreadsheet-dot-charts-ad65ecfb.md

latest2.0 KB
Original Source

AxisTimeUnits Enum

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

Declaration

csharp
public enum AxisTimeUnits
vb
Public Enum AxisTimeUnits

Members

NameDescription
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:

Remarks

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

See Also

DevExpress.Spreadsheet.Charts Namespace