Open Kurdiez opened 8 years ago
This is not techan specific, this can be done with d3 alone. If you place an overlay over the chart with appropriate mouse handlers it's quite straight forward to invert mouse coords to price. Crosshair does this to emit the move events (and will eventually emit click/mousedown events).
I am trying to build an interactive chart based trading app. I would love to place trades right on the chart. If I click my mouse on the chart, does techanjs allow me to obtain where the mouse was clicked in terms of the price?