Dear aspose support,
after programatically adding a chart, clearing its ChartData.Series and calling ValidateChartLayout, an ArgumentOutOfRangeException is thrown.
Could you please look into that, code to reproduce is as follows:
Aspose.Slides.Presentation p = new Aspose.Slides.Presentation();
var slide = p.Slides.AddEmptySlide(p.LayoutSlides[0]);
var chart = slide.Shapes.AddChart(Aspose.Slides.Charts.ChartType.PercentsStackedBar, 0, 0, 100, 100);
chart.ChartData.Series.Clear();
chart.ValidateChartLayout();
I am using the current version of aspose.slides for dot.net: 20.6.0.0 but it can also be reproduced in the 19.* versions.
Thank you for your time
regards,
K. Witt