highcharts-react
highcharts-react copied to clipboard
How make stockTools Gui position in top of chart ?

stockTools: {
gui: {
enabled: true
}
},
i got document for js only, so after 2 days research I can't find a way to do it with reactjs.
Hi @phongplus,
Thank you for contacting us! There is no big difference between JS and React stock tools version. You just need to define icons as HTML elements and bind events with them.
JS version: https://jsfiddle.net/BlackLabel/epb4zrq3/ React version: https://codesandbox.io/s/highcharts-react-80g4yf?file=/demo.jsx
Docs: https://www.highcharts.com/docs/stock/stock-tools
Best regards!
Closed due to inactivity.