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

Free Support Forum - aspose.com

Chart 3D Bars

Hi,
I've tried extracting a chart out of an existing Excel file but it seems there is a problem with reading 3D Bars.

Sample Code:

Workbook workbook = new Aspose.Cells.Workbook();
workbook.Open(@"chart.xlsx");
Chart chart = workbook.Worksheets["Tabelle2"].Charts[0];
Bitmap bitmap = chart.ToImage();
bitmap.Save(@"TestChart_Image.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);

Attached is a screen shot of the chart in the Excel file and the image that is generate by Aspose.Cells.

Isn't it possible to extract the chart or am I doing something wrong?

Thanks!
Mel

Hi,

Your code is correct and it could be a bug.

Please test this issue with latest version:
Aspose.Cells for .NET (Latest Version)

If the problem persists, then please provide me your source xlsx/xls file. We will investigate this issue and update you asap.

Thanks for the fast reply.

Unfortunately I have the sampe problem with the version you referenced to.

The sample xlsx is attached.

Hi,

Thanks for your file.

I was able to reproduce the problem. I have logged this issue in our database. Once it is fixed or we get some update, we will let you know.

This issue has been logged as CELLSNET-29599.

Thanks for the answer - although it doesn’t realy help me for now :slight_smile:

Hi,

Actually, it is bug, so you will have to wait until it is fixed. Thanks for your understanding.

Hi,

We have fixed this issue. Please download: Aspose.Cells for .NET (Latest Version)

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Thanks, works now!

Mel