I would like to allow my user to click on a horizontal line in a column chart and drag the line up/down. I can render a horizontal line using a plot band and can see how to dynamically reposition the line in this example (dynaimic plot bands).
But I don't know how to convert the mouse position to a Y axis value. Are there any utility functions to convert from mouse coordinates to plot coordinates or axis values?
I would appreciate any advice as to how to achieve this functionality of dragging a line in a chart. Many thanks.