Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download Google Chart API? [closed]

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

like image 773
user3480644 Avatar asked May 22 '14 11:05

user3480644


People also ask

Can you use Google Charts offline?

Can I use charts offline? Your users' computers must have access to https://www.gstatic.com/charts/loader.js in order to use the interactive features of Google Charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them.

Is Google Charts API free?

Google chart tools are powerful, simple to use, and free. Try out our rich gallery of interactive charts and data tools.

Is Google Charts open source?

Google Charts is open source and is free to use.


1 Answers

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.

like image 99
Code Lღver Avatar answered Oct 14 '22 15:10

Code Lღver