I have a live chart (InterestRateCurve) that gets data updates every few 
seconds. The DataTable size has been fixed and my x-axis values are fixed.
The update code looks like the following:


function updateChart(msg, args)
{
var i, j;
for (i=0; i < dataTable.getNumberOfRows(); i++)
{
for (j=0; j < dataTable.getNumberOfColumns(); j++)
{
dataTable.setCell(i, j, msg[i][j]);
};
};

chartObj.draw(dataTable, chartOptions);
};


When I try to zoom into and pan my chart, it resets as soon as new data 
arrives.  This is frustrating when you really want to zoom.  Is there any 
way to maintain the zoom and position of the graph even if data updates? 
 Is there another method I should be calling instead of "draw" or is there 
some chart option I could set?

Thanks,
--Liam

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/64f07a3c-f38c-4bb8-afd1-55ccc24b91c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to