Skip to main content

ChartControl.UpdateData() Method

Synchronize the internal data representation of the chart with the current state of the data source.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v25.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void UpdateData()

Remarks

Use the UpdateData method to refresh the chart when the data in the underlying datasource has been changed and it is necessary to reflect those changes.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UpdateData() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also