Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Example of rendering React components in a Highcharts formatter function.
- The index.js file shows an example of creating a React app with Highcharts using the offical wrapper.
- It also demonstrates a possible solution to render React components in a Highcharts formatter function.
- The helper function named `formatter` takes a react component and render it to a string which is returned to the Highcharts formatter.
- It also takes the arguments and context in the Highcharts formatter and passes them into the component as props named `arguments` and `context`
Add Comment
Please, Sign In to add comment