interface PriceScaleOptions {
    inverted: boolean;
    marginBottom: number;
    marginTop: number;
    minMove: number;
    mode: PriceScaleMode;
}

Properties

inverted: boolean

Flip the axis (price increases downward) — for spread/short views.

marginBottom: number
marginTop: number

Fraction of pane height kept empty at top/bottom (default 0.1 each).

minMove: number

Instrument tick size (minMove), e.g. 0.05. 0 → infer from range.

Linear or logarithmic price↔y mapping.