php 如何下载 Google Chart API?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23806015/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 16:57:56  来源:igfitidea点击:

How to download Google Chart API?

phphtmlgraphgoogle-visualizationphpgraphlib

提问by user3480644

I am using Google Chart in one my Program, The program will run locally and have no internet access to use Google Charts. Can you please tell me where can i download the Library, I searched on net but failed to find out any possible way to download it?

我在我的一个程序中使用 Google Chart,该程序将在本地运行并且无法访问互联网以使用 Google Charts。你能告诉我在哪里可以下载图书馆,我在网上搜索但没有找到任何可能的下载方式吗?

Thanks

谢谢

采纳答案by Code L?ver

You can download the google chart API from the following link:

您可以从以下链接下载谷歌图表 API:

https://www.google.com/jsapi

https://www.google.com/jsapi

Just hit the URL on your browser and save it by using ctrl+S. And include it in your project.

只需点击浏览器上的 URL 并使用ctrl+保存它S。并将其包含在您的项目中。

For more information see here for offline chart API.

有关更多信息,请参见此处的离线图表 API

EDITED:

编辑:

this library used two online library also so you need to download then and change the path:

该库还使用了两个在线库,因此您需要下载并更改路径:

google.loader.ServiceBase = 'https://www.google.com/uds';
google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax';

In the above line you can see those libraries.

在上面的行中,您可以看到这些库。