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

Free Support Forum - aspose.com

Anti-Aliasing is not effect

Workbook wb = new Workbook("C:/泡泡图重叠2.xlsx");
HtmlSaveOptions o = new HtmlSaveOptions();
o.getImageOptions().setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
wb.save("C:/泡泡图重叠.html");

Hi,


Thanks for the template file and sample code.

Please update the last line of code segment as following:
e.g
Sample code:

wb.save(“C:/泡泡图重叠.html”, o);


Let us know if you still have any issue.

Thank you.

Oh, I paste a wrong code. I add o to save method.


But the HTML image still wrong.

Pie is anti-aliasing but bubble isn’t.

Hi,


Thanks for your feedback and further details.

You are right. I observed the issue as you mentioned. I used the following sample code to do the anti-aliasing for the rendered charts in the template file. I noticed that Bubble chart has no anti-aliasing effect in the rendered HTML file format, the Pie chart is fine though.
e.g
Sample code:


Workbook wb = new Workbook(filePath);
HtmlSaveOptions o = new HtmlSaveOptions();
o.getImageOptions().setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
wb.save(“f:\files\out1.html”, o);

I have logged a ticket with an id “CELLSJAVA-41445” for your issue. We will look into it soon.

Once we have any update on it, we will let you know here.

Thank you.

Hi,

Thanks for using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells
for Java v8.6.3.2
and let us know your feedback.

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


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