Onclick Event

30 views
Skip to first unread message

vijay main

unread,
Jan 7, 2016, 12:45:33 AM1/7/16
to Google Visualization API
Hello sir,
I am new to google chart.
Could you please tell me how to fire on click event using Pie chart.

Thanks in advance.

Sergey Grabkovsky

unread,
Jan 7, 2016, 9:57:53 AM1/7/16
to Google Visualization API
Hi Vijay,

It would probably be more useful to listen to the 'select' event. You may find the documentation for it (along with a number of examples) here, and a live example that I just constructed for you that uses a pie chart can be found here: http://jsfiddle.net/jefoo97j/

Good luck!

--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/7d26c73d-9485-4fec-b257-de9d1623cbff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com

Vijay Main

unread,
Jan 7, 2016, 10:50:25 PM1/7/16
to google-visua...@googlegroups.com
Thank you very much sir.


--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/99AoYyabhuA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.



--
Thanks & Regards,
Vijay B. Main.
+91 9762283967,
+91 9762015558.






Reply all
Reply to author
Forward
0 new messages