Updating Charts with Refreshed Data

Redraw a chart with new or updated data by using the <apex:actionSupport> component, or by using JavaScript remoting and your own JavaScript code.

<apex:actionSupport> allows you to update the chart using only Visualforce. JavaScript remoting requires you to write some JavaScript code, but provides more flexibility and smoother transitions.