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

Highstock chart crashes when adding any yAxis configuration #47

Closed
ghost opened this issue Aug 9, 2018 · 0 comments
Closed

Highstock chart crashes when adding any yAxis configuration #47

ghost opened this issue Aug 9, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 9, 2018

Hi,
I have this issue with highstock chart, that it crashes every time I try to add even the smallest configuration to the yAxis.

Heres an example:

 const config =  {
           yAxis: {
               title: {
                   text: 'ok'
               }
           },
           series: sensorValues
       }

And the data for this look like:

https://imgur.com/ueWMgcm

This works perfectly fine when using HighChart, not Highstock.

The error that I get (using firefox) is:

TypeError: f.options is undefined[Learn More] highstock.js:508 ./node_modules/highcharts/highstock.js/</</< highstock.js:508 ./node_modules/highcharts/highstock.js/</</a.fireEvent/< highstock.js:31 forEach self-hosted:268:13 ./node_modules/highcharts/highstock.js/</</a.each highstock.js:28 ./node_modules/highcharts/highstock.js/</</a.fireEvent highstock.js:30 setChartSize highstock.js:261 getAxisMargins highstock.js:256 getMargins highstock.js:256 redraw highstock.js:247 ./node_modules/highcharts/highstock.js/</</< highstock.js:533 ./node_modules/highcharts/highstock.js/</</a.wrap/a[n] highstock.js:20 update highstock.js:335 componentWillReceiveProps HighchartsReact.js:24 callComponentWillReceiveProps react-dom.development.js:11528 updateClassInstance react-dom.development.js:11720 updateClassComponent react-dom.development.js:13154 beginWork react-dom.development.js:13825 performUnitOfWork react-dom.development.js:15864 workLoop react-dom.development.js:15903 callCallback react-dom.development.js:100 invokeGuardedCallbackDev react-dom.development.js:138 invokeGuardedCallback react-dom.development.js:187 replayUnitOfWork react-dom.development.js:15311 renderRoot react-dom.development.js:15963 performWorkOnRoot react-dom.development.js:16561 performWork react-dom.development.js:16483 performSyncWork react-dom.development.js:16455 interactiveUpdates$1 react-dom.development.js:16720 interactiveUpdates react-dom.development.js:2150 dispatchInteractiveEvent react-dom.development.js:4533 dispatchInteractiveEvent self-hosted:1027:17

What could be causing this?

@ghost ghost closed this as completed Aug 9, 2018
This issue was closed.
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

0 participants