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

    Class PaneLayout

    Ordered vertical stack of panes. Always contains at least the main price pane (id=main, kind=price). Sub-panes appended via addPane are renormalized so all ratios sum to 1, and computeBounds(top, bottom) assigns absolute Y bounds to each.

    Index

    Constructors

    Accessors

    Methods

    • Distribute the [top, bottom] range across panes according to each pane's normalized heightRatio. Every pane gets concrete top/bottom set after this call.

      Parameters

      • top: number
      • bottom: number

      Returns void