Re: [visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread Giulio Mastrosanti
AaaaHh got it! great! MANY THANKS you for your help and sorry for wasting your time, Giulio Il giorno mercoledì 18 maggio 2016 22:09:33 UTC+2, Daniel LaLiberte ha scritto: > > Now I understand. You have a 'ready' listener on your dashboard that > calls caricaAscoltiM, so this will

Re: [visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread 'Daniel LaLiberte' via Google Visualization API
Now I understand. You have a 'ready' listener on your dashboard that calls caricaAscoltiM, so this will be called every time the dashboard is ready, which happens every time the dashboard gets updated, not just the very first time. So that's why the lower chart is redrawn. If you want this to

Re: [visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread Giulio Mastrosanti
it is not the dashboard to have an animation, is the chart outside of the dashboard that, if has an animation, gets affected from changes in the dashboard, as you can see here: http://www.solomac.it/prototipo/statistiche3.php Il giorno mercoledì 18 maggio 2016 21:28:33 UTC+2, Daniel LaLiberte

Re: [visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread 'Daniel LaLiberte' via Google Visualization API
The startup animation only applies the first time the chart is drawn. I don't think animation in the dashboard should affect anything outside the dashboard, though if the animation fails due to an error, that could affect other things executing in the same thread. But I am glad you have got it

Re: [visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread Giulio Mastrosanti
Hi Daniel, I was setting up a demo page for you, but I have noticed that the second chart had an animation: {"startup": true,"duration": 500}, in the options since I have already got problems with animation with the the dashboard, I have removed the option and now it seems OK, so it

Re: [visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread 'Daniel LaLiberte' via Google Visualization API
If your external AreaChart is set up with no entanglements with the dashboard, it shouldn't be affected by anything that happens in the dashboard. The dashboard constructs DataViews for use inside the dashboard, and so even if you share the data given to the dashboard with other uses outside the

[visualization-api] DateRangeFilter change trigger draw on chart outside the dashboard

2016-05-18 Thread Giulio Mastrosanti
HI, I have on one page a dashboard with an AreaChart and a DateRangeFilter to filter it, but there's also another AreaChart independent from the dashboard. I've noticed that, changing the DateRangeFilter, also the external AreaChart is redrawn. is this a normal behaviour and how can it be