Google charts reload with different language

30 views
Skip to first unread message

Teo Kosmo

unread,
Jan 3, 2019, 11:18:03 AM1/3/19
to Google Visualization API
Hi everybody,

I am in the process of integrating the new library load (gstatic) and i was wondering if there is a way to reload google visualization api with different language without refreshing the whole page.
I was able to accomplish this with the old library loader (jsapi) by using autoload argument i.e. https://www.google.com/jsapi?autoload={modules:[ {name:'visualization',version:'1',packages: ['table','corechart', 'geochart'], 'language':'en'

So by ajax requesting jsapi i was able to reload google visualization api with different language without refreshing the page. Is this possible with gstatic loader?


Reply all
Reply to author
Forward
0 new messages