I met an issue that when I exported a chart to an image (Exported Chart.JPG) from an excel file (Original Source.xlsx), it gave me a strage line on the left axis.
See the attachment.
My Code is as blow:
Dim wb = New Workbook(“D:\Original Source.xlsx”)
Dim bitmap = wb.Worksheets(1).Charts(0).ToImage()
bitmap.Save(“D:\Exported Chart.JPG”, ImageFormat.Jpeg)
Thanks for your posting and using Aspose.Cells for .NET.
We were able to replicate this issue using your source file and the code. We have logged this issue in our database. We will look into this issue and resolve it. 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-41602.
Thanks for your help. my issue was solved by the newest version.
Thanks for your feedback.
It’s good to know your issue is resolved with the latest version. If you encounter any other issue, please feel free to post, we will be glad to help you further.