Hide/show rows whith checkbox in line chart

4,809 views
Skip to first unread message

Carlos López

unread,
Jul 13, 2010, 8:27:51 AM7/13/10
to Google Visualization API
Hi everybody,

is there any way to show/hide rows in a line chart by clicking a
checkbox like a motion chart?

ex. http://code.google.com/apis/ajax/playground/?type=visualization#motion_chart

Viz Kid

unread,
Jul 15, 2010, 7:48:23 AM7/15/10
to google-visua...@googlegroups.com

Hi.

Currently the only way to perform it is to create a new view of the data table and redraw the chart (which will adjust the indices accordingly which I'm not sure you want).

Hope this helps,
  Viz Kid


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Muhammad Dyas Yaskur

unread,
Apr 24, 2015, 10:29:17 PM4/24/15
to google-visua...@googlegroups.com
Message has been deleted

John Gats

unread,
Oct 16, 2015, 2:42:42 AM10/16/15
to Google Visualization API
Hi,
I used your checkbox version code to set up my google chart display nice work and thank you, the only issue that i have is that if you hide a line the next one will take its color and this can be very confusing.
Is there a way for every line to stick to its own color? doesnt matter if its random or defined.
Reply all
Reply to author
Forward
0 new messages