Correct. However, I think your perspective looking at datasource cells overcomplicates things. As not only the series but also the Axis Labels etc. might be based on a cell range.
- In two operators, whether the chart is re-set?
- Or only the cells are changed?
- Are the charts you handle include Pivot Charts?
- Please provide us some spreadsheets for review
Thanks. Will the additional info you requested still be helpful? I didn’t have time to send you this yet.
Thanks for using Aspose.Cells for Java.
Please download and try this fix: Aspose.Cells for Java (Latest Version) and let us know your feedback.
Please use chart.isChartDataChanged() method to detect whether the chart changes.
Thanks Shakeel! Is the zip password protected?
Thanks for your posting and using Aspose.Cells.
Do you mean zip file of Aspose.Cells for Java (Latest Version). No, it is not password protected. Once, you will extract it, it will contain another zip file, then you extract the another zip file and it will give you the jar file.
Thanks, the password thing was an error in my zip client, fixed now.
yousefdardiry:Thanks, the password thing was an error in my zip client, fixed now.
It is good to know that you are able to finally test the new release.
for the isChartDataChanged() method, when does it return true? If the
chart data has changed since the last call to chart.toImage(…)?
The method detects the changes in the chart’s data source before rendering the chart to image format. At first Chart.toImage call, the chart source data (e.g. XValuesParseData, ValuesParseData) will be recorded. Before calling the Chart.toImage method again, call isChartDataChanged method to check if the chart needs re-rendering.
seems to work well. I’m having some issues with
workbook.calculateFormula() getting stuck though, but this might be
because this is the first time I’ve upgraded from 7.x to 8.x - will have
to dig in to this more.
Please feel free to share the sample spreadsheet along with code here so we could also look into the matter and assist you further in this regard.