License attribution in Drupal 8

31 views
Skip to first unread message

Bill Bohling

unread,
Apr 19, 2016, 9:23:33 AM4/19/16
to Google Visualization API
Greetings,

I'm using Google charts in a Drupal 8 project.  One of the new things in D8 is a libraries.yml file for registering both local and remote JS and CSS.  For remote resources like Google charts, Drupal requires version and licensing information to be provided, so I'm wondering what to enter there.

google_chart:
remote: https://www.gstatic.com/charts/loader.js
version: ?????
license:
name: ?????
url: ?????
gpl-compatible: ?????
js:
https://www.gstatic.com/charts/loader.js: {type: external}

Thanks,
Bill

Daniel LaLiberte

unread,
Apr 19, 2016, 4:05:04 PM4/19/16
to Google Visualization API
Hi Bill,

The version of Google Charts that you use depends on which version you load.  With the gstatic loader can load one of several versions when you call google.charts.load().  The first arg specifies the version, which might be a particular numbered version like '41' or '44', or it could be 'current' or 'upcoming' which means the loader dynamically determines which version to use.

You can read the Terms of Service page here: https://developers.google.com/chart/terms
The license is Copyright Google, free to use.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/f2ee8b09-b0b9-4445-9b3d-77f0c63edb6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages