Back to Devexpress

Axis.MinorTimeUnit Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-axis-9bdc1a59.md

latest2.5 KB
Original Source

Axis.MinorTimeUnit Property

Gets or sets the time unit for minor tick marks on the date axis.

Namespace : DevExpress.Spreadsheet.Charts

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
AxisTimeUnits MinorTimeUnit { get; set; }
vb
Property MinorTimeUnit As AxisTimeUnits

Property Value

TypeDescription
AxisTimeUnits

An AxisTimeUnits enumeration value specifying the time unit.

|

Available values:

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.

|

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).

See Also

BaseTimeUnit

MinorUnit

SetAutoMinorUnit()

Axis Interface

Axis Members

DevExpress.Spreadsheet.Charts Namespace