doushan5222
doushan5222
2014-05-22 11:50

如何下载Google Chart API? [关闭]

已采纳

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?

Thanks

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • douzhuan0309 douzhuan0309 7年前

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

    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.

    For more information see here for offline chart 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.

    点赞 评论 复制链接分享