You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to switch between line and column displays dynamically, but I get the following error when switching
Cannot read property 'hoverSeries' of undefined
I've created a minimal component that replicates the problem---checkbox that toggles the series. When I make the first switch, the series colour disappears, so something's presumably wrong at that point. Then, when I switch back, I get the error.
I'm using React 16.0, Highcharts 5.0.14 and React JSX Highcharts 1.3.4.
I would guess, that the problem is that when the switch between LineSeries and ColumnSeries occurs, the LineSeries component unmounts - which causes the series to be removed.
I would suggest to use the Series component directly. Series is the base component anyway - all the named series are just for convenience, they just pre-populate the type prop for you.
I'm trying to switch between line and column displays dynamically, but I get the following error when switching
I've created a minimal component that replicates the problem---checkbox that toggles the series. When I make the first switch, the series colour disappears, so something's presumably wrong at that point. Then, when I switch back, I get the error.
I'm using React 16.0, Highcharts 5.0.14 and React JSX Highcharts 1.3.4.
The text was updated successfully, but these errors were encountered: