Map a price into the mode's transformed coordinate. base is the
percentage/indexed anchor (the first visible candle's close); it is
ignored by linear and log.
Must never return NaN/±Infinity for finite inputs — a poisoned
transformed value would corrupt every pixel that flows through the
shared linear map.
Map a price into the mode's transformed coordinate.
baseis the percentage/indexed anchor (the first visible candle's close); it is ignored bylinearandlog.Must never return NaN/±Infinity for finite inputs — a poisoned transformed value would corrupt every pixel that flows through the shared linear map.