A akh655xp Member Licensed User Longtime User Nov 18, 2017 #1 Hi I use google charts in B4I is there a way to grab the user click on the chart and get the content of the ballon? I want to use it for drill down charts Thanks
Hi I use google charts in B4I is there a way to grab the user click on the chart and get the content of the ballon? I want to use it for drill down charts Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2017 #2 It will not be simple. Google charts events are documented here: https://developers.google.com/chart/interactive/docs/events You can use WKWebView.EvaluateJavaScript to inject JavaScript. Your JavaScript should redirect the current page when the user clicks on the chart. Handle the OverrideUrl event to catch this. Upvote 0
It will not be simple. Google charts events are documented here: https://developers.google.com/chart/interactive/docs/events You can use WKWebView.EvaluateJavaScript to inject JavaScript. Your JavaScript should redirect the current page when the user clicks on the chart. Handle the OverrideUrl event to catch this.