开发者

Google Chart API - is it possible to download the .js and work on it offline?

开发者 https://www.devze.com 2023-03-08 02:34 出处:网络
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 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

0

精彩评论

暂无评论...
验证码 换一张
取 消