@rekurt/openkline - v0.2.0
    Preparing search index...

    Function priceToTransformed

    • 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.

      Parameters

      Returns number