How can I create a component with a HighCharts chart, that create the chart ones on the first render and only update the series data when new data comes in using chart.series[0].setData(data,true);
Reactjs – How to create a HighCharts chart in react
highchartsreactjs
Related Topic
- How can I get to know which server side programming is used by the website?
- R – How to set specified gem version for Ruby app
- Android – How to implement ClientLogin on Android to access Google services
- Jquery – Problem Integrating jquery show-hide with Dynamic Drive Step Carousel Viewer v1.8
- R – Progress ABL: How to have windows open in same position on the screen as they opened last time
- Javascript – Detect click outside React component
- Javascript – Invariant Violation: Objects are not valid as a React child
- Javascript – Why do we need middleware for async flow in Redux
Best Answer
I have made a library called React JSX Highcharts, which might be what you're looking for. GitHub / NPM
It allows you to create Highcharts charts with React components. So to update the series data, would just need to pass an updated
data
prop.Behind the scenes, React JSX Highcharts would call
setData
for you.Example