Aspose.Slides for Python 22.1 Release Notes
|SLIDESPYNET-3||Use Aspose.Slides for Net 22.1 features||Enhancement|
Public API Changes
NONE member have been added to TimeUnitType enumeration
A new NONE member have been added to TimeUnitType enumeration. This member indicates that no unit should be set for the appropriate unit scale.
import aspose.slides as slides with slides.Presentation() as pres: chart = pres.slides.shapes.add_chart(charts.ChartType.AREA, 10, 10, 400, 300, True) chart.axes.horizontal_axis.major_unit_scale = charts.TimeUnitType.NONE pres.save("chart.pptx", slides.export.SaveFormat.PPTX)