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

Free Support Forum - aspose.com

Failed to Set Axis Title for Histogram Chart

Hello Team,
I have a problem with the histogram chart axis. When I tried to set up title for horizontal or vertical axis I have just the empty value axis title in ppt file.
Here is a code example.Code example.zip (545 Bytes)

Best Regards, Diana.

Thank you for the issue description.

To show and change the titles for horizontal and vertical axes, you should also enable the titles. The following code snippet shows you how to do this:

pptChart.Axes.HorizontalAxis.HasTitle = true;
pptChart.Axes.VerticalAxis.HasTitle = true;

Documents: Chart Axis
API Reference: IAxis.HasTitle Property

But unfortunately, I found that these properties don’t work for histogram charts. So I added a ticket with ID SLIDESNET-43138 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.

The issues you have found earlier (filed as SLIDESNET-43138) 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.