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

    Type Alias CompareNormalization

    CompareNormalization: "percentage" | "indexed" | "price"

    How a compare series' raw values are mapped before plotting:

    • 'percentage' — percent change vs. the first visible value: (v / base - 1) * 100. The base is 0%, so all series start at the same height on the left edge and diverge by relative performance.
    • 'indexed' — the first visible value is pinned to 100: v / base * 100. Same shape as 'percentage' shifted up by 100.
    • 'price' — no normalization; the raw value is plotted. Useful only when the compare symbol shares the main series' price magnitude.

    'percentage' and 'indexed' share one internal, self-scaling Y axis across every compare series (see ComparePrimitive) so the lines are directly comparable regardless of the main price axis. 'price' projects through the main right price scale (viewport.priceToY).