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

Free Support Forum - aspose.com

Saving pptx as HTML : A fixed label "Chart title" seems to be used when chart series label is empty

Hi there,

I am saving an existing pptx file as HTML file that contains a single chart using Aspose.Slides for .Net.
In my pptx file, the chart series doesn’t have any label but when saving pptx as HTML, it gives fixed label “Chart title” which seems to be used when chart series label is empty(Please see attached “IssueRedEncircled.png”).

Please check the below code:

private void SavePPTXAsHTML()
string outputFile = “SamplePresentation.pptx”;
string htmlOutputFile = “SamplePresentation.html”;
Aspose.Slides.Presentation presNew = new Aspose.Slides.Presentation(Path.Combine(DataDir, outputFile));

Aspose.Slides.Export.HtmlOptions htmlOpt = new Aspose.Slides.Export.HtmlOptions();
htmlOpt.HtmlFormatter = Aspose.Slides.Export.HtmlFormatter.CreateDocumentFormatter("", false);

presNew.Save(Path.Combine(DataDir, htmlOutputFile), Aspose.Slides.Export.SaveFormat.Html, htmlOpt);
catch (Exception ex)


Please find the attached pptx namely “SamplePresentation.pptx” that I am using in the code above.

Hi Pradeep,

I have observed your requirements and worked with the presentation file shared by you. I have been able to reproduce the issue. A ticket with ID SLIDESNET-37045 has been logged 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 resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESNET-37045) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.