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

Free Support Forum - aspose.com

Setting CategoryAxis type throws exception

I am using Aspose.Slides for .Net version

This code throws this exception: “The method or operation is not implemented.”

chart.Axes.HorizontalAxis.CategoryAxisType = CategoryAxisType.Auto;


I have observed the information shared by you and request you to please share the working sample project along with source presentation (if any) for further investigation on our end. We will be able to investigate the issue further on our end on provision of requested information.

example code:

using (var pres = new Presentation(@“c:\temp\123.pptx”))
ISlide slide = pres.Slides[0];
IChart chart = slide.Shapes.AddChart(ChartType.ClusteredColumn, 10,10, 500, 500);
chart.Axes.HorizontalAxis.CategoryAxisType = CategoryAxisType.Auto;

chart go boom…


I have worked with sample code and have observed NotImplementException. It means that the requested support is not available presently. I have added an issue with ID SLIDESNET-39129 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

We are sorry for your inconvenience.