I am saving an existing word document as HTML file that contains two charts using Aspose.Word for .Net.
My first chart is a bar chart, when saving document as HTML, it renders incorrect series interval values when values are in percentage(%) (Please see attached "IssueRedEncircled.png").
My second chart is combo of (Line + Column) with Line series on Primary Y and Column series on Secondary Y, when saving document as HTML, it renders incorrect series interval values and series interval values are placed on right hand side of primary Y axis.(Please see attached "IssueRedEncircled.png")
Please check the below code:
private void SaveAsHTML()
Aspose.Words.License license = new Aspose.Words.License();
string outputFile = "WordReport.docx";
Document docNew = new Document(DataDir + outputFile);
string htmlOutputFile = "WordReport.html";
docNew.Save(DataDir + htmlOutputFile);
catch (Exception ex)
Please find the attached Word doc namely "WordReport.docx" that I am using in the code above.