Aspose::Cells::Charts::Axis::GetMajorUnitScale method
Axis::GetMajorUnitScale method
Represents the major unit scale for the category axis.
TimeUnit Aspose::Cells::Charts::Axis::GetMajorUnitScale()
Examples
chart.GetCategoryAxis().SetCategoryType(CategoryType::TimeScale);
TimeUnit majorUnitScale = chart.GetCategoryAxis().GetMajorUnitScale(); //get
chart.GetCategoryAxis().SetMajorUnitScale(majorUnitScale); //set
chart.GetCategoryAxis().SetMajorUnit(2);
See Also
- Enum TimeUnit
- Class Axis
- Namespace Aspose::Cells::Charts
- Library Aspose.Cells for C++