Reputation: 5174
I would like to use the Google Chart API in one of my project.
Is it possible to download ONE JavaScript for it so that I can work offline?
I tried to download the script referred from the html page (jsapi) and its code seems to load up other scripts:
google.loader.ServiceBase = 'https://www.google.com/uds';
google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax';
...
Is there no way to get just one unified JavaScript?
Upvotes: 33
Views: 45929
Reputation: 377
Download this package: https://www.dropbox.com/s/4cd7zbdvv2mlg8f/gstatic.zip?dl=0
After add this code in HTML:
<script type="text/javascript" src="gstatic/loader.js"></script>
This works for me.
It is to see version 44 of Google chart
Upvotes: 12