I want to draw rectangles inside the graph using Highcharts and React, Right now if I draw the rectangle inside the graph its using individual co-ordinates but I want to use the coordinates of the graph.
When a rectangle is drawn the co-ordinates are displayed in the text fields I want to change the values in the text field according to the graphs axis and rectangle should be placed there.
For e.g if I give X-Axis 25 and Y-Axis 50 it should show the rectangle on those axis not outside the graph
Here is the link to my code:
https://codesandbox.io/s/confident-hofs ... rc/App.tsx