ChartIsChartDataChanged Method

Detects if a chart's data source has changed.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: (22.1)
public bool IsChartDataChanged()

Return Value

Type: Boolean
Returns true if the chart has changed otherwise returns false
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 Chart needs re-rendering.
See Also