Everyware Device Cloud (EDC): GPS Comet Example utilizing Google Chart Tools v2.0.2
Please complete the following steps before starting this tutorial:
- Make sure to have an EDC account and to have completed the edc-java-client-gps example so some data is published under your account. You will also probably want to have this publishing when you view the dashboard so you can see the data updated in real time.
- Familiarize yourself with the Google Chart Tools by browsing the chart gallery or experimenting with the playground.
index.html with the Firefox or Safari browser and enjoy your dashboard. You will need to enter your account name, user name, password, and the specific 'asset' you want to track.
There are certainly more elaborated processing of the data that can be performed and that are not illustrated in this example. We encourage you to explore the Google Chart Tools documentation for Data Views and the Data Manipulation Methods
Moreover, Google Charts can be published as Gadgets into the iGoogle portal pages. You can find a tutorial for that process here. https://developers.google.com/chart/interactive/docs/dev/gadgets
Finally, you are encouraged to package this example into a proper WEB application before deploying it into production. Better handing of the login and logout aspects is appropriate. A suggestion can be to convert this example into a JSP-page and package it as J2EE war file that can be deployed into an application container like tomcat. This example is kept simple on purpose as it focuses on the plotting of a charts using EDC as a Datasource.