RefreshChartsData()

Presentation::RefreshChartsData(bool) method

Reloads the data for all charts in the presentation from their source workbooks.

void Aspose::Slides::Presentation::RefreshChartsData(bool skipFailedCharts=1) override

Arguments

ParameterTypeDescription
skipFailedChartsboolDetermines whether the refresh process continues if a chart fails to update. If true, charts that cause an exception are skipped; otherwise the exception is propagated.

Remarks

auto presentation = System::MakeObject<Presentation>(u"PresentationWithCharts.pptx");
presentation->RefreshChartsData();
presentation->Save(u"PresentationWithCharts-out.pptx", SaveFormat::Pptx);

See Also