Google Chart in Android Webview

300 views
Skip to first unread message

Adam Liu

unread,
Feb 9, 2014, 1:05:19 AM2/9/14
to google-visua...@googlegroups.com
Hi,

Is it possible to have all the chart functions to work inside an Android webview?
I'm currently trying to show a dynamic/animated chart where users can interact with it.
It seems that Google Chart Tools best suits my needs, but unfortunately is not an Android native API.
The only way to show the chart is via a webview, but then all I can do is scrolling the webview or zooming it.

Thanks.

asgallant

unread,
Feb 10, 2014, 12:17:04 PM2/10/14
to google-visua...@googlegroups.com
The Visualization API does not include support for touch events, so if you are looking to enable interaction in Android, you have to map touch events to mouse events.  There is a post on StackOverflow that has a good guide to doing this: http://stackoverflow.com/a/1781750/613559
Reply all
Reply to author
Forward
0 new messages