Skip to main content
All docs
V26.1
  • DateAxis.BaseTimeUnit Property

    Gets or sets the base time unit for the date axis.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    NuGet Package: DevExpress.Docs.Core

    Declaration

    public AxisTimeUnitType BaseTimeUnit { get; set; }

    Property Value

    Type Description
    AxisTimeUnitType

    An AxisTimeUnitType value. The default value is Days.

    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.

    See Also