SheetRender exports chart with wrong height

Hi,


we are using Aspose.Cells to create some chart in png format. With version 7.0.1.0 the export of the chart was as expected. With version 7.0.1.5 the height of the chart is smaller.

PFA two png file and a sample project to reproduce this behaviour.

Best regards

Hi,

Thanks for reporting this issue and provide us a sample project and files.

We have logged this issue in our database and we will fix it asap.

This issue has been logged as CELLSNET-31195.

Hi,

We looked into you code segment and noticed you use “xlsChart.Calculate()” and then don’t use the chart objects. We suggest you kindly remove the line of code regarding Calculate() method. Genenally, Excel files don’t have detailed information about the position (e.g of Plot Area or Legend) and MinValue or MaxValue, MajorUnit etc.(of Categry Axis or Value Axis). We provide the Calculate() method that tries to calculate the values and at the same time may change the chart object with the values. If the calculated values are not proper, the chart will be brought to a wrong state. So, we suggest, in normal or unnecessary case, don’t call Calculate() method. Also, we will provide a version soon to fix the bug in the Calculate() method.

Thank you.

Hi,



Please try the latest fixed version. Please download: Aspose.Cells for .NET v7.0.1.6
Your issue should be fixed now.

Thank you.

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


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