Re: [visualization-api] Changing between dataviews

2015-01-13 Thread theatomicbob
Thanks so much, that fixes the problem. Completely makes sense. Morgan On Tuesday, January 13, 2015 at 5:21:21 AM UTC-8, Daniel LaLiberte wrote: The ChartRangeFilter doesn't change the range of values just because it is given new data. It assumes you want to preserve the previously set

Re: [visualization-api] Changing between dataviews

2015-01-13 Thread 'Daniel LaLiberte' via Google Visualization API
The ChartRangeFilter doesn't change the range of values just because it is given new data. It assumes you want to preserve the previously set range, rather than resetting to show everything, on the assumption that you aren't changing your data that much, and the user would expect the range to be

[visualization-api] Changing between dataviews

2015-01-12 Thread theatomicbob
Hello, I have a simple dashboard with a LineChart and a ChartDateFilter. I want to show data from different dataviews depending on user input. Right now, I maintain the dataviews as global variables. When I want to show show a particular dataset, I call *dashboard.draw(dataviews[index]);*