A single anchor of a drawing, expressed in BUFFER SPACE:
index
price
Screen-space coordinates are intentionally avoided: they would drift whenever the user zooms or the price axis re-scales.
A single anchor of a drawing, expressed in BUFFER SPACE:
indexis a (possibly fractional) buffer index — so the drawing sticks to the underlying candle regardless of pan/zoompriceis a raw price value that maps to Y via the viewport's current price rangeScreen-space coordinates are intentionally avoided: they would drift whenever the user zooms or the price axis re-scales.