I need to combine ChartRangeFilter with BarChart. This is currently not
supported, because CharRangeFilter works on continuous axis, while BarChart
needs discrete x-axis.
On x-axis I have equidistant data ( January 2010, February 2010...)
My first step was to create data table with two x-axis columns. The first
column is continuous and the second one is string ("Jan 2010"). Then I do
something like this:
ChartRangeFilter.setView({'columns': [0,2]});
BarChart.setView({'columns': [1,2]});
That is - to ChartRangeFilter I set continuous axis and to BarChart column
with discrete axis.
I see, that I can not bind the two chart by standard dashboard.bind, but I
have to write my own hadler hoked on ChartRangeFilter statchange listener.
My problem is, how to set data to BarChart in the linstener handler. I
know, how to find start and end of the ChartRangeFilter, but how to fiter
the data table and pass it to the BarChart?
Thanks for any hint!
--
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/06f85093-b078-41e9-8d0c-d8211d0a30e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.