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

How to pass an object to Highcharts.setOptions #170

Closed
vinicius5581 opened this issue Nov 14, 2019 · 1 comment
Closed

How to pass an object to Highcharts.setOptions #170

vinicius5581 opened this issue Nov 14, 2019 · 1 comment

Comments

@vinicius5581
Copy link

I'm trying to update the numeric Symbols for the chart which is done in the Highcharts.setOptions but I don't see how to do that in the current ember-highcarts interface.

Please advise.

https://api.highcharts.com/highcharts/lang.numericSymbols

@JonnoFTW
Copy link

JonnoFTW commented Mar 4, 2020

Follow the instructions here:

https://github.com/ahmadsoe/ember-highcharts/blob/master/README.md#global-highcharts-config-options

My application.js looks like this:

export default function(defaultOptions) {
  defaultOptions.lang = {
    decimalPoint: '.',
    thousandsSep: ','
  };
  return defaultOptions;
}

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

3 participants