I want to use Aspose APIs for copy pasting a chart from one sheet to another sheet (which belongs to separate workbook not the source one).
If you need to copy Chart shape in between worksheets in the same workbook, it would work absolutely fine, see the document for your reference:
But, if you need to copy Chart object to other workbook sheet, it might not work properly due to external reference for the chart. You may also confirm this behavior (the charts won’t copy) when you copy a range including chart in the sheet and paste it into other workbook’s sheet.
I think the best way to accomplish this is to take the image of the chart using Chart to Image feature provided by Aspose.Cells and then paste that picture into your other workbook sheet accordingly.
Alternatively, you may create the chart from the scratch in your other workbook by yourself via Aspose.Cells APIs.
Thanks for the response.
Here is the file from where I extracted the emf image file (using chartToImage API) that was being used in the new workbook.
Thanks for using Aspose.Cells for Java.
Please download and try this fix: Aspose.Cells for Java (Latest Version) and let us know your feedback.
Thanks for your feedback and using Aspose.Cells.
We are pleased to know that your issue is fixed with the latest version. We have closed this thread now. Let us know if you encounter any other issue, we will be glad to look into it and help you further.