Free Support Forum - aspose.com

Add Display Unit label on axis

I am setting display unit property for vertical axis but it is still not visible in ppt generated.

chart.getAxes().getVerticalAxis().setDisplayUnit(DisplayUnitType.Millions);
chart.getAxes().getVerticalAxis().setNumberFormatLinkedToSource(false);
chart.getAxes().getVerticalAxis().setNumberFormat("$#,##0.00");

Please find attached ppt generated screenshot.
aspose_display_unit.JPG (15.8 KB)

@agarwalsarthak121,
Thank you for your request. Could you please describe what representation for labels of vertical axis you want to achieve? It is best if you share a presentation file with such labels for us.