Múltiples Gráficos

23 views
Skip to first unread message

Mateo Verdelli

unread,
Jun 28, 2018, 11:41:09 PM6/28/18
to Google Visualization API
Quisiera saber si se pueden cargar varias librerías de gráficos, por ejemplo:
google.charts.load('current', {'packages':['corechart']});
google.charts.load('current', {'packages':['lines']});
en una misma página.
Message has been deleted

Ray Thomas

unread,
Jul 5, 2018, 1:14:15 PM7/5/18
to Google Visualization API

Yes you can, just use

google. charts. load ( 'current' , { 'packages' : [ 'corechart' ,'lines']});

You can add other packages to the array as well. 

For many of the charts you just need corechart.

When I wrote 
https://www.indstate.edu/business/metrics all I used to load the libraries was 

google.charts.load('current');

I suspect I may have just gotten lucky as the column, bar, line, scatter and area charts all appear to be displaying as they should.
Reply all
Reply to author
Forward
0 new messages