Unfortunately, Google's Terms Of Service <https://developers.google.com/terms/> 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 <https://github.com/google/google-visualization-issues/issues/277>, 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 On Thursday, 14 June 2018 16:07:31 UTC+8, SAGAR DESHPANDE wrote: > > 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. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/ebad6e39-bf88-4815-a781-897c01a3508b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
