We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Formatting Charts to display numbers in billions and trillions

I wanted to format the vertial axis of the chart to display numbers in Billions,Millions and trillions.I used the below code for it


chart.Axes.VerticalAxis.NumberFormat = [>1000000]#,##0,“M”;[>1000]#,“K”;#,##0"

But in this approach i can only have three options ,but in this case I need more than 3 options.Is there a way we can do it ,like

chart.Axes.VerticalAxis.NumberFormat = [>100000000]#,##0,“T”;[>1000000]#,##0,“M”;[>100000]#,##0,“B”;[>1000]#,“K”;#,##0"

Hi,


Thank you for your interest in Aspose.Slides.

I have observed your comments and like to request you to please share with us the code sample in which you are using chart.Axes.VerticalAxis.NumberFormat = [>1000000]#,##0,“M”;[>1000]#,“K”;#,##0", along with a presentation file created using PowerPoint, as expected output so that we may proceed further to help you out.

Best Regards,