Hello everyone, in this article we will look into how to embed google charts into our SharePoint page.
When it comes to the end user, the look & feel and how we display the actual data is very important. One of the best way to show the data is by using Charts and there are lots of charts available, each one has its own advantage. We need to pick up the right chart to display the right data.
Here comes the big picture “Google Charts” to satisfy the above stuff which we talked about. I’m not going to explain much about ‘what Google Chart is’, you can find it here in there official site Google Charts.
Let’s consider that we need to show the data available inside SharePoint list as a Bar Chart,
In this example, I’ve used JQuery, SPServices (To retrieve list data) and added below scripting.
Everything has explained in comments. To know more about Technical background on Google Chart, please refer here.
Google APIs – terms of service do not allow us to download the google.load or google.visualization code to use offline. End user computers must have access to https://www.google.com/jsapi in order to use charts.
To know more about hosting or downloading the chart code locally, or on an intranet or to use Chart offline – Google Chart – FAQ