I'm occasionally experiencing a lag when initializing a new table with:

table = new google.visualization.Table(document.getElementById('google-chart'));


To fix that I want to use a jQuery Deferred, so I'm trying to find a table 
callback that the table has loaded to tell me when I can resolve my 
Deferred:

var tableDeferred = $.Deferred();

table = new google.visualization.Table(document.getElementById('google-chart'));

table.<callback indicating table has loaded> = function() {
  tableDeferred.resolve()
}


-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/71c549d8-ff63-447d-9054-ce8087a0ab86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [visualization-api] Is th... Bill Bohling

Reply via email to