Google Chart API without internet

213 views
Skip to first unread message

SAGAR DESHPANDE

unread,
Jun 14, 2018, 4:07:31 AM6/14/18
to Google Visualization API
How can I use Google Chart API without internet.

I am developing a website which requires a Bar and Pie charts to be implemented in it.And this website will be hosted on a local server (Off Internet).

Please help.

Louis Gale

unread,
Jun 14, 2018, 9:51:30 PM6/14/18
to Google Visualization API
Unfortunately, Google's Terms Of Service prohibit this API from being used offline.  Specifically:

e. Prohibitions on Content

Unless expressly permitted by the content owner or by applicable law, you will not, and will not permit your end users or others acting on your behalf to, do the following with content returned from the APIs:

  1. Scrape, build databases, or otherwise create permanent copies of such content, or keep cached copies longer than permitted by the cache header;
There is a thread about it here, with an answer from Daniel about Google's thoughts behind this.  The best you could do, is to setup a mechanism to cache http requests for the js files that expires within the allowed limit (3600 seconds).

cheers
Reply all
Reply to author
Forward
0 new messages