Hi,
I have a google treemap which takes considerable time to load. I would like
to show a spinner while the data is loaded. I am trying it this way. I have
a div class for loading
* <div class="loading">Loading…</div>*
and the spinner shows on the screen while the data is loaded. The challenge
is that I have written the following in the javascript code
* google.visualization.events.addListener(tree, 'ready', onReady);*
* function onReady(){*
* $("#loading").hide();*
* } *
* }*
This does not work. When I do a debug of this code, the onReady() function
shows
onReady = onReady()
What am I missing here? Can someone please guide me?
Thanks
Sachin
--
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/792243fc-209c-4afb-a385-254a90f7ec09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.