Until the new dashboard controls get finalized, probably the best way to
handle this is to declare the dataTable as a global. When you want to add a
new node, append a new row to the table with the new data and call your draw
function again. Something like this, maybe?
var data = new google.visualization.dataTable();
// populate the data table
function drawTable() {
// draw the table
}
function addNode() {
// add a new node to data
drawChart();
}
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/ikm1ea-VhoAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.