Guest User

Untitled

a guest
May 21st, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. # Example of rendering React components in a Highcharts formatter function.
  2. The index.js file shows an example of creating a React app with Highcharts using the offical wrapper.
  3. It also demonstrates a possible solution to render React components in a Highcharts formatter function.
  4.  
  5. The helper function named `formatter` takes a react component and render it to a string which is returned to the Highcharts formatter.
  6. 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