Setting CategoryAxis type throws exception

I am using Aspose.Slides for .Net version 17.6.0.0

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

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

@Dork.Scott,

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…

@Dork.Scott,

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.