-
Notifications
You must be signed in to change notification settings - Fork 90
Debugging
Will Hawker edited this page Jul 21, 2017
·
1 revision
React JSX Highcharts provides a <Debug />
component to make debugging easier.
When this component is mounted, it assigns the Highcharts chart instance to the global scope, so you can inspect the object through developer tools.
Adds chart instance to global variable chart
<Debug />
Adds chart instance to global variable myCustomVarName
<Debug varName="myCustomVarName" />
Examples - NPM links: react-jsx-highcharts
| react-jsx-highstock
| react-jsx-highmaps