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

Free Support Forum - aspose.com

Different order for legend

For stacked columns in image (method toImage()).


If legend in one or more line then order the same as the excel
If legend in one column then legend in back order.
See attachments

Hi,


Kindly give us your template Excel file(s) here, we will check your issue soon.

Also, which version of the product you are using?

Thank you.

I reproduced in in versions 7.0.2 and 7.0.3 aspose cells.



Hi,

I can find the issue as you have mentioned using the following code with your template file.

Sample code:
Workbook workbook = new Workbook("wrong+order+of+legend+in+stacked+column%2c+excel+variant.xlsx");
Chart chart = workbook.getWorksheets().get(0).getCharts().get(0);
chart.toImage("img.bmp");

If legend in one column then legend in back ordered.

I have logged a ticket with an id: CELLSJAVA-40045. We will look into it soon.

Thank you.

Hi,


Please try the attached version, we have solved the legend’s order issue.

Thank you.

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.