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

(Drilldown) TypeError: Cannot read property 'turboThreshold' of undefined #207

Open
bdevika opened this issue Apr 8, 2019 · 6 comments
Open

Comments

@bdevika
Copy link

bdevika commented Apr 8, 2019

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
    image
    image
@whawker
Copy link
Owner

whawker commented Apr 8, 2019

Hi @bdevika, react-jsx-highcharts doesn't support drilldown at the moment. See #29

@bdevika
Copy link
Author

bdevika commented Apr 8, 2019

Ok :(, @whawker Thank you for your response. Let us know once it supports

@bdevika
Copy link
Author

bdevika commented Apr 10, 2019

Hi, @whawker, How to rerender Series forcefully?

@bdevika
Copy link
Author

bdevika commented Apr 11, 2019

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

@anajavi
Copy link
Collaborator

anajavi commented Apr 11, 2019

You could try with:

getChart = chart => {

  this.chart = chart;
  this.chart.update.bind(chart);
}

@bdevika
Copy link
Author

bdevika commented Apr 12, 2019

@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.

@whawker whawker changed the title TypeError: Cannot read property 'turboThreshold' of undefined (Drilldown) TypeError: Cannot read property 'turboThreshold' of undefined Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants