typpo / google-charts-node

Render Google Charts to image
GNU Affero General Public License v3.0
35 stars 10 forks source link

offline version #12

Closed kpetrow closed 2 years ago

kpetrow commented 2 years ago

Is there any chance that you know of an offline version? Searching far and wide for a backend graphing library that doesnt require calls to outside services

typpo commented 2 years ago

Google prohibits use of 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. The code for loading the appropriate library is part of the included script, and is called when you invoke the google.charts.load() method. Our terms of service do not allow you to download the google.charts.load or google.visualization code to use offline.

For an offline charting alternative, you could consider something like QuickChart