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

Free Support Forum - aspose.com

Image from chart does not contain all chart elements

Hi all,

we are using Apose Cells for Java 7.3.1.

wenn i do a screenshot of the chart inside the attached Excel-File

worksheetObjekt.getCharts().get(0).toImage(outputStream, new ImageOrPrintOptions());

the resulting Image contains everything i see inside the Excel but not the two lines “Plan kum.” "VSI kum."

Same happens when i do a screenshot of the sheets area with the following code (not shure that is the same routine internally).
render = new SheetRender(worksheetObjekt, imageOrPrintOptions);
render.toImage(0, byteArrayOutputStream);

Can you please examine the Problem?

Thanx in advance


Please download and try our latest fix/version: Aspose.Cells for Java v7.4.0.4

I have tested using your file with it, it works fine. You mentioned series are rendered fine in the output image.

Here is my sample code:

Sample code:

Workbook workbook = new Workbook(“APDiagramm_2491051798941973054.xlsx”);

Worksheet sheet = workbook.getWorksheets().get(0);
Chart chart = sheet.getCharts().get(0);

Thank you.