Chart to Image Not in good quality

Hi,



Using ASPOSE 7.5 version, on Sun OS in JDK 1.6 and 1.7 both,

m getting chart to image converted not properly.
Converted Image has less X-Axis Scales as of original Excel File.

Please see the attached documents

Hi,

Thanks for your posting and using Aspose.Cells for Java.

Please download and use the latest version: Aspose.Cells
for Java v7.5.1.4
it works fine.

We have tested your issue with the latest version using the following code and it generated the correct chart output image.

We have attached the output image for your reference.

Java


String filePath=“F:/Shak-Data-RW/Downloads/5.1.44+4.1.45+11.16+Excel_Bar+Chart++alone(2003).xls”;


Workbook workbook = new Workbook(filePath);


Worksheet worksheet = workbook.getWorksheets().get(0);


Chart chart= worksheet.getCharts().get(1);


chart.toImage(filePath + “.out.png”);


You tested it on Windows? or Solaris



Please verify on Solaris

Can see the same issue with above mentioned version



Hi,

Thanks for your posting and using Aspose.Cells for Java.

We did not find any issue on Windows with JDK 1.6. However, we have logged your issue for investigation in our database. We will further look into it and fix it. 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-40588.

Hi,


Please set your OS fonts and try it again. E.g.
CellsHelper.setFontDir(“c:\windows\fonts\”);

We find the font in the result you posted is bigger than we get, also is
bigger than MS Excel too.

Also, we recommend you to please try our latest version/fix: Aspose.Cells for Java v7.5.3 :



Hi,

Thanks for using Aspose.Cells.

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