Axis.MajorUnitScale
Axis.MajorUnitScale property
Represents the major unit scale for the category axis.
public TimeUnit MajorUnitScale { get; set; }
Examples
[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
See Also
- enum TimeUnit
- class Axis
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells