Android Tutorial Add Charts With Google Charts Service

Status
Not open for further replies.
The attached project is a port of this example: [Server] Google Charts service to Basic4android.
A similar example with more charts is available here: http://www.b4x.com/android/forum/threads/google-charts.31240/#post-186963

upload_2014-3-24_16-7-18.png
upload_2014-3-24_16-7-34.png


Google Charts is a web service that allows adding all kinds of nice looking and interactive charts. The charts are rendered in Google Charts servers. A WebView is used to show the result. This means that it will not work without an internet connection.

The required html is created with a template file. The data and options JSON strings are added to the template and then loaded to the WebView.

The code is quite simple. Note that the charts will only be displayed on Android 3+ devices.
 

Attachments

  • GoogleCharts.zip
    8.1 KB · Views: 1,977

Yan Paulo

New Member
hello erel!
I would like to know how to use this example of Geo these days. I compiled the project and the Geo option doesn't show anything on the screen.
Would you help me? I have a project and the only example that came closest was this one.

Thank you very much!
 

Attachments

  • WhatsApp Image 2022-04-05 at 14.36.52.jpeg
    WhatsApp Image 2022-04-05 at 14.36.52.jpeg
    20.8 KB · Views: 116
Status
Not open for further replies.
Top