- This topic has 0 replies, 1 participant and was last updated 10 years, 5 months ago da .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home > Forum > Discussions on general problems > Creation of web pages with Google Charts tools
Google Charts offers an easy way to view data in HTML pages, from charts to complex hierarchical tree maps, the gallery provides a large number of ready-to-use chart types. To use Google Charts just include the JavaScript code in your HTML page by linking it directly from the Google site.
The availability of this library combined with the ability to create dynamic pages offered by our CPU modules SlimLine allows to create HTML pages viewable with a common browser by accessing the web server of SlimLine. Here, for example, is a display page of gauges with the values of wind speed, temperature and humidity acquired through analog inputs (Screenshot). As seen from the HTML source of the page, the three gauges display the values of REAL variables program SlimLine.
var data = google.visualization.arrayToDataTable ([['Label', 'Value'], ['Wind', ],]);
var data = google.visualization.arrayToDataTable ([['Label', 'Value'], ['Temperature', ],]);
var data = google.visualization.arrayToDataTable ([['Label', 'Value'], ['Humidity', ],]);