Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-charts hides localization option from the user #24

Open
fdlk opened this issue Mar 30, 2017 · 1 comment
Open

vue-charts hides localization option from the user #24

fdlk opened this issue Mar 30, 2017 · 1 comment

Comments

@fdlk
Copy link

fdlk commented Mar 30, 2017

Google's library allows you to specify the language in its settings
https://developers.google.com/chart/interactive/docs/basic_load_libs#load-settings

The googleChartsLoader in vue-charts calls google.charts.load(version, options); but doesn't expose the language option in its interface googleChartsLoader (packages = ['corechart'], version = 'current', mapsApiKey = false)

@piotr-radzikowski
Copy link

piotr-radzikowski commented Nov 17, 2017

@haydenbbickerton please bump npm version for repo.

language options is on master branch, but not on npm --save version
from master build, You can use like:

<vue-chart 
  :chart-type="chartType"
  :columns="columns"
  :rows="rows"
  language="pl"
  :options="options"
 />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants