How do you search a Chart?

545 views
Skip to first unread message

H B

unread,
Mar 19, 2012, 8:28:25 AM3/19/12
to Google Visualization API
I have created a sortable chart using (http://code.google.com/apis/
chart/interactive/docs/gallery/table.html).

I would like to have a search box that will allow the user to search
the information in the chart.

How do I do this?

asgallant

unread,
Mar 19, 2012, 10:40:49 AM3/19/12
to google-visua...@googlegroups.com
Would a StringFilter (http://code.google.com/apis/chart/interactive/docs/gallery/controls.html#stringfilter) work for you?  If not, then since the Tables are just stylized HTML tables, you could write a custom search function of your own, iterating over the rows of the table until you find what you're looking for.

H B

unread,
Mar 19, 2012, 11:07:22 AM3/19/12
to google-visua...@googlegroups.com
Thank you

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/2sh-0ze2cbgJ.
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.

Reply all
Reply to author
Forward
0 new messages