react-jsx-highcharts
react-jsx-highcharts copied to clipboard
(Drilldown) TypeError: Cannot read property 'turboThreshold' of undefined
when drill down is clicked on bar chart and data is updated im getting this error.
Versions
- React JSX Highcharts version: ^3.4.0
- Highcharts version: ^7.0.0
- React version: ^16.5.2
Hi @bdevika, react-jsx-highcharts doesn't support drilldown at the moment. See #29
Ok :(, @whawker Thank you for your response. Let us know once it supports
Hi, @whawker, How to rerender Series forcefully?
this sample helps to reproduce the issue https://stackblitz.com/edit/react-4ippjp?file=DrillChart.js
step to reproduce:
click any category click Update Chart button
You could try with:
getChart = chart => {
this.chart = chart;
this.chart.update.bind(chart);
}
@anajavi , Thank you for your suggestion, Unfortunately, it is not working as expected. It throws the same error. it happens when state variable get updates when the graph is in drill down state. Suppose data is static and state variable not used then it won't cause any problem.