Required library edition:
Required library file: dhtmlxchart.js
Redraws the whole chart
chart.refresh();