Required library edition:
Required library file: dhtmlxchart .js
adds the new data object and redraws a chart
chart.add({ id: 1, value: 5.64, label: 2009 });