@Nachti,
Thank you for your query. I have tried this sample code with the template file using latest version Aspose.Cells for .NET 19.10 but could not observe any issue. Could you please share which version of Aspose.Cells is used for testing at your end? You may please give a try using latest version and share the feedback. If still issue is there, share the issue details along with the images for our analysis. The program output file is attached here for your reference. pic.png (326.1 KB)
@Nachti,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.
This issue has been logged as
CELLSNET-46988 – Callout line does render exactly in the image when converted from Excel
@Nachti,
We have made a detailed check on this problem and traced it to Chart.xml of XLSX file. It is found that Chart has an offset of Y coordinate, and we have processed it accordingly before. However, Excel is suspected to have some logic of its own, which ignores this offset in some special cases. As a result, the chart we draw is different from Excel.
Since this y offset cannot be simply and rudely ignored, it can be a big problem. So at present, this question also needs to be studied, in what special circumstances to ignore it. We will further update you soon.