MajorUnitScale

Axis.MajorUnitScale property

表示类别轴的主要单位比例。

public TimeUnit MajorUnitScale { get; set; }

例子

[C#]

chart.CategoryAxis.CategoryType = CategoryType.TimeScale;
chart.CategoryAxis.MajorUnitScale = TimeUnit.Months;
chart.CategoryAxis.MajorUnit = 2;

[Visual Basic]
chart.CategoryAxis.CategoryType = CategoryType.TimeScale
chart.CategoryAxis.MajorUnitScale = TimeUnit.Months
chart.CategoryAxis.MajorUnit = 2

也可以看看