Aspose::Cells::Charts::Axis::SetMinorUnitScale method

Axis::SetMinorUnitScale method

Represents the major unit scale for the category axis.

void Aspose::Cells::Charts::Axis::SetMinorUnitScale(TimeUnit value)

Examples

chart.GetCategoryAxis().SetCategoryType(CategoryType::TimeScale);
chart.GetCategoryAxis().SetMinorUnitScale(TimeUnit::Months);
chart.GetCategoryAxis().SetMinorUnit(2);

See Also