Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Description

Excerpt

Sets of returns time unit (day, month or year) setting used in to establish MajorUnitValue numberIn conjunction with MajorUnitValue, determines the time interval between axis labels and major tick marks for category axes with a DisplayType of TimeScale.

Signature
C#
C#
 public AxisTimeUnit MajorUnit{ get; set; }
Signature
vb.net
vb.net
Public Property MajorUnit() As AxisTimeUnit
Remarks

This value specifies the units of measurement when determining how frequently there will be data labels on a time-scaled category axis. For example, if MajorUnit is set to Month and MajorUnitValue is set to 6, then there will be 6 months between every label.

The default value for newly created charts in ExcelWriter is Days.

This property has no effect for category axes with a DisplayType of Category.

Scrollbar