How do I get the X & Y values when the PlotMouseMove, PlotMouseDown & PlotMouseUp events fire?
The code shown below is for the PlotMouseMove event. It applies equally to the PlotMouseDown and PlotMouseUp events. It will calculate the X and Y values for any axis, and accounting for a linear or log scale. Worth noting that YStack(YScale) gives the position and dimensions of the corresponding plot area. If YStacking = False, then there is only one plot area.