B4J Tutorial [Server] Google Charts service

SS-2014-03-23_15.31.53.png


Online example: http://basic4ppc.com:51042/reports/google_charts.html

Google Charts is a free web service that makes it simple to add many types of nice looking, interactive charts to the web page.

As in the table example, the server is responsible for returning a JSON object with the chart data. The format is explained here: https://developers.google.com/chart/interactive/docs/reference#dataparam

In this case the data is coded inside the handler. So all the handler does is to prepare the JSON response.

The handler code and files are attached. The handler path is "chartsHelper" (you can see it in the html file).

 

Attachments

  • google_charts.zip
    2 KB · Views: 834

MbedAndroid

Active Member
Licensed User
Longtime User
yeah
got something to work in my domotica
thanks erel
 

Attachments

  • bert005.jpg
    bert005.jpg
    8.5 KB · Views: 421
Top