Skip to main content
A newer version of this page is available. .

ChartControl.RefreshData() Method

Reloads data from the underlying data source and repaints the diagram area.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.UI.dll

Declaration

public void RefreshData()

Remarks

If a data source implements the IBindingList interface, XtraCharts refreshes a chart’s data only when data in the data source has been changed. If the data source doesn’t implement the IBindingList interface, you can manually handle the way in which chart data should be refreshed via the ChartControl.RefreshDataOnRepaint property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RefreshData() 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