Dynamic chart from MySQL

How can I load a chart from MySQL and have this refresh, say every minute. The database will return any new data points since the last request? Thanks!

Chart data can be loaded from xml, json and csv. You may use server-side script to generate the xml for example. Here is the sample of xml loading:

dhtmlxChart/samples/01_initialization/01_load_xml.html

To reload chart you may the following:

chart.clearAll();
chart.load(url)