Adding Google Charts to Chrome Apps

26 views
Skip to first unread message

Claus Mygind

unread,
Oct 2, 2015, 7:21:05 AM10/2/15
to Google Visualization API
Is it possible to add google charts to Chrome Apps?

Since chrome apps prevents the use of loading external scripts in the header of the page, is there another way to load the JSAPI library loader.

Using the prescribed method

<html>
 
<head>
   
<!--Load the AJAX API. Do this only once per web page! -->
   
<script type="text/javascript" src="https://www.google.com/jsapi"></script>


generates this error.

Refused to load the script 'https://www.google.com/jsapi' because it violates the following Content Security Policy directive: "default-src 'self' blob: filesystem: chrome-extension-resource:". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
Reply all
Reply to author
Forward
0 new messages