Google Chart API - is it possible to download the .js and work on it offline?
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 down开发者_JAVA技巧load 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?
Working offline with Google Chart API is not permitted, since it is against their TOS.
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
精彩评论