Free Support Forum - aspose.com

Chart.ToImage() still shows zeros for data labels

Even with v4.8.2, I am still getting zeros displayed when converting charts to images. Also, you’ll notice other inconsistencies, such as the values for the lighter purple bar not showing at all.



Please see the attached images.



I am using the following code…

var workbook = LoadWorkbook(file);

var imageName = Path.GetFileNameWithoutExtension(file) + “.jpg”;

imageName = Path.Combine(Path.GetDirectoryName(file), imageName);

var options = new ImageOrPrintOptions {

ImageFormat = ImageFormat.Jpeg,

Quality = 90

};

workbook.Worksheets[0].Charts[0].ToImage(imageName, options);

Hi,

Thanks for providing us the template file.

After an initial test, we found the issue. We will figure it out soon. Your issue has been logged into our issue tracking system with an issue id: CELLSNET-14953.

Thank you.

Do you have any updates on this issue?

Hi,

Please try the attached version, we have fixed your issue.

Thank you.

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.