highcharts-react icon indicating copy to clipboard operation
highcharts-react copied to clipboard

How make stockTools Gui position in top of chart ?

Open phongplus opened this issue 2 years ago • 1 comments

Screen Shot 2022-09-26 at 06 56 31

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.

phongplus avatar Sep 25 '22 23:09 phongplus

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!

ppotaczek avatar Sep 26 '22 16:09 ppotaczek

Closed due to inactivity.

ppotaczek avatar Nov 02 '22 13:11 ppotaczek