Data binding
Both the chart and the data grid below it use the same data provider. The chart is redrawn automatically when data in the data provider changes. Try to click the data grid fields and change some values - the chart will update right after you hit Enter.