refresh_data method

refresh_data(self)

Refreshes the chart data by reloading it from the source workbook.

def refresh_data(self):
    ...

Remarks

If the chart uses an external workbook, the workbook must be accessible at the time of the call.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when the workbook format is not supported, or when ChartData.data_source_type is
ChartDataSourceType.EXTERNAL_WORKBOOK and the external workbook cannot be accessed or loaded.

See Also