Browse our Products

Aspose.Slides for Android via Java 22.1 Release Notes

KeySummaryCategory
SLIDESANDROID-334Use Aspose.Slides for Java 22.1 featuresEnhancement

Public API Changes

None member have been added to TimeUnitType enumeration

A new None member have been added to TimeUnitType class. This member indicates that no unit should be set for the appropriate unit scale.

Presentation pres = new Presentation();
try {
    IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Area, 10, 10, 400, 300, true);
    chart.getAxes().getHorizontalAxis().setMajorUnitScale(TimeUnitType.None);
    pres.save("chart.pptx", SaveFormat.Pptx);
} finally {
    if (pres != null) pres.dispose();
}