Hello Everyone,
My intention is to display a stockchart graph and allow the visitors to superpose to it multiple stocks from a checkbox list.
I am quite new, don't hesitate to redirect me to some basic readings if I missed something big.
I am using NextJS and therefore use the HighchartsReact from 'highcharts-react-official'
At the moment, I am able to set the chart options from one to another via a button thanks to useState from react.
Nevertheless I don't see how I would be able to "add one plot on top of the existing plot" via useState. (and similarly when unchecking the box it should be removed)
Could you please give me some guidance or the best way to achieve this task ?
(Note that the serie value will be fetch from api in the future)
Thank you so much