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 use "Highcharts.setOptions"? #334

Closed
codler opened this Issue Oct 10, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@codler

codler commented Oct 10, 2017

I cant see "Highcharts.setOptions" in the global scope. Im using webpack, es6 and react-highcharts 12.0.0.
How can I setOptions?

@codler

This comment has been minimized.

Show comment
Hide comment
@codler

codler Oct 11, 2017

Nvm, I figured out.

import Highcharts from 'react-highcharts';
Highcharts.Highcharts.setOptions({
  lang: {
    shortMonths,
  },
});

codler commented Oct 11, 2017

Nvm, I figured out.

import Highcharts from 'react-highcharts';
Highcharts.Highcharts.setOptions({
  lang: {
    shortMonths,
  },
});

@codler codler closed this Oct 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment