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

Free Support Forum - aspose.com

Some chart to image wrong

Workbook wb = new Workbook("C:/时间-自定义-EXCEL雷达图(有问题).xlsx");
HtmlSaveOptions o = new HtmlSaveOptions();
ImageOrPrintOptions img = o.getImageOptions();
img.setSaveFormat(SaveFormat.SVG);
img.setImageFormat(ImageFormat.getIcon());
wb.save("C:/时间-自定义-EXCEL雷达图(有问题).html", o);



chart_Sheet1_0.png'size is 0 byte
Hi,

Thanks for your posting and using Aspose.Cells.

We have tested this issue with the following sample code using the latest version: Aspose.Cells for Java v16.10.3 and observed the issue and found radar chart image is not generated when source excel file is converted into pdf.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-42045 - Radar chart image is not generated

I have also attached the output pdf generated with this code for a reference.

Java
Workbook wb = new Workbook(dirPath + "sa.xlsx");

PdfSaveOptions opts = new PdfSaveOptions();
opts.setOnePagePerSheet(true);

wb.save(dirPath + "output.pdf", opts);

The issues you have found earlier (filed as CELLSJAVA-42045) have been fixed in Aspose.Cells for Java 17.3.0.


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