dear aspose.cells support,
Thanks for your posting and using Aspose.Cells.
We were able to replicate this issue by executing the following code with the latest version: Aspose.Cells
for .NET v184.108.40.206. The chart image is not correct as it looks in Excel.
We have logged this issue in our database for investigation. We will look into it and fix this issue. 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
- CELLSNET-43255 - Chart image is not rendered correctly
I have also attached the output chart image for a reference.
Workbook workbook = new Workbook(path);
Worksheet worksheet = workbook.Worksheets;
Chart ch = worksheet.Charts;
Bitmap bmpChart = ch.ToImage();
bmpChart.Save(path + “.out.jpg”, ImageFormat.Jpeg);
Thanks for using Aspose.Cells.
We have fixed this issue.
Please download and try the latest fix: Aspose.Cells for .NET v220.127.116.11 and let us know your feedback.