Yeah, that's what I meant. You probably don't want to make your spinner show in JavaScript. I think you'd want some sort of HTML/CSS combination so that the spinner is visible when the page first loads, and then goes away when the chart loads. If you show the spinners via JS, it is entirely possible that the chart will render quickly enough for the spinner to not have time to show anything significant.
On Wed, Apr 1, 2015 at 11:34 AM Schabagh <[email protected]> wrote: > Hello Sergey, > > thanks. That is a very good idea. Do you mean something like this? > > var chart = new google.visualization.Table(document.getElementById( > 'chart_div')); > > cahrt.draw(data, options); > > google.visualization.events.addListener(chart, 'ready', selectHandler); > > function selectHandler(){ > $("#myDivOnTop").hide(); > } > > > Problem: > during my chart is loading, my animated .gif is not loaded and displayed. > The chart and my animated gif are displayed at the same time. > > Thanks > > > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
