I want to set the language of the google chart API to a value. It currently uses the language of the browser visiting the page. How do I set it to the language of my application?
Google chart tools are powerful, simple to use, and free. Try out our rich gallery of interactive charts and data tools.
arrayToDataTable()This helper function creates and populates a DataTable using a single call.
See Google docs Loading Charts using a specific locale.
By default, the Google Chart libraries are loaded with the locale specified by the browser. You can override this default by explicitly specifying a locale in the loading parameters.
For example:
google.load('visualization', '1', {'packages':['corechart'], 'language': 'ja'});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With