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

Free Support Forum - aspose.com

Failed to Set Titles for Axes of a Waterfall Chart

I have a problem with the waterfall chart axis. When I tried to set up titles for horizontal and vertical axes I have just the default value - “Axis Title”.

    var pres = new Presentation();
    var chart = pres.Slides[0].Slide.Shapes.AddChart(ChartType.Waterfall, 0, 0, 700, 300);
    chart.Axes.HorizontalAxis.HasTitle = true;
    chart.Axes.VerticalAxis.HasTitle = true;
    chart.Axes.HorizontalAxis.Title.AddTextFrameForOverriding("Horizontal Axis");
    chart.Axes.VerticalAxis.Title.AddTextFrameForOverriding("Vertical Axis");

image.png (7.2 KB)

Thank you for reporting the issue.

I’ve reproduced the problem with the titles of Waterfall chart axes and added a ticket with ID SLIDESNET-43131 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate this case. You will be notified when the issue is resolved.

1 Like

The issues you have found earlier (filed as SLIDESNET-43131) have been fixed in Aspose.Slides for .NET 22.7 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.