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.

On Wed, Jan 6, 2016 at 10:22 PM Jack Lau <[email protected]> wrote:

> 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
>
>
> --
> 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 [email protected].
> To post to this group, send email to
> [email protected].
> 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
> <https://groups.google.com/d/msgid/google-visualization-api/30888b7d-f3f0-437a-9434-323b1cf07071%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

[image: unnamed.gif]

•

•

•

•

Sergey Grabkovsky

Software Engineer

Google, Inc

[email protected]

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAEwwup5_nEQLwmxJyXikPQqbfLJDML9afkF7iCvMRgBrfGmW1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to