From my experience, I've noticed that some charts are designed for
"smooth updates", like the gauges. Others redraw. But the redraw is
very fast.
For fast redraws, you need to be careful how you manipulate the data
set. Instead of this:
var data = response.getDataTable();
chart.draw(data, {width: 400, height: 240, title: 'Company
Performance'});
Create a chart using the ChartWrapper class. Set the data property
once, when you initialize it.
Then when you update the data object (don't create a new one each
time, just update the cells of the table or add/remove rows
appropriately), just call the wrapper's draw() method without
supplying a new data set.
In your code snippet, you are creating a new DataTable each time,
which along with the draw(DataTable), is slow. In my suggestion, you
are updating a DataTable, and then just calling draw(). This is a
little faster and might make all the difference you need.
gl,