use file loader.js in my company's server ?

2,562 views
Skip to first unread message

Jack Lau

unread,
Jan 6, 2016, 10:22:30 PM1/6/16
to Google Visualization API
Hi all,

Due to my company policy, our source code does not allowed to point outside our system (e.g. "https://www.google.com/jsapi" or "https://www.gstatic.com/charts/loader.js").

Is it allowed to download the source code of file loader.js and then run in company's server ? Is the license allow me to do this commercially ?

Just like below:
<html>
  <head>
    <!--Load the AJAX API-->
<!--<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>-->
    <script type="text/javascript" src=".\loader.js"></script>
    <script type="text/javascript">

      // Load the Visualization API and the piechart package.
      //google.load('visualization', '1.0', {'packages':['corechart']});
 google.charts.load('current', {packages: ['corechart']});
 
      // Set a callback to run when the Google Visualization API is loaded.
      //google.setOnLoadCallback(drawChart);
 google.charts.setOnLoadCallback(drawChart);

      // Callback that creates and populates a data table,
      // instantiates the pie chart, passes in the data and
      // draws it.
      function drawChart() {
          // ...
      }

Thanks,
Jack


Sergey Grabkovsky

unread,
Jan 7, 2016, 9:55:19 AM1/7/16
to Google Visualization API
Hi Jack,

It is currently against our Terms of Service to host any of our code on your own servers. But in any case, it wouldn't do you much good to host 'loader.js' since, as the name may suggest, it is but a loader and nothing more. You could copy the JavaScript files it ultimately loads but again, it is against our Terms of Service.

We do intend to eventually provide our users with downloadable versions of Google Charts code, but it is currently in early discussions and we don't have any roadmap that we can share with you.

--
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/30888b7d-f3f0-437a-9434-323b1cf07071%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com

Jack Lau

unread,
Jan 8, 2016, 2:32:25 AM1/8/16
to Google Visualization API
Hi Sergey,

Thank you for your support!

Jack
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

abcrm management

unread,
Apr 19, 2017, 7:10:39 AM4/19/17
to Google Visualization API
I am looking forward to have a local api so that we use it locally even without internet connection.
Thank you very much.

Andy Maertz

unread,
Sep 24, 2018, 10:34:54 AM9/24/18
to Google Visualization API
Hello Sergey,

Can you please tell me about the status of your decision to provide users with a downloadable version of the Google Charts code?

Thanks and cheers,
Andy
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Sep 24, 2018, 11:26:30 AM9/24/18
to Google Visualization API
Current plans are to release a portion of the library that deals with datatables, options processing, chartwrappers, and queries.  This will let people build different charts on top of the basic framework.  But doing even this requires a process of extracting code and cleaning it up to make it ready for release.  We have very little time for that these days, but are making progress.  No specific timeline.

To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com

--
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.

For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages