Skip to content

charton API


charton API / @chart-on/ui / index / createDepthLadder

Function: createDepthLadder() ​

createDepthLadder(host, lane, options?): DepthLadderHandle

Defined in: ui/src/depth-ladder.ts:66

Panel listing a depth lane's levels as a price ladder, asks above bids, each row shaded by its size. Built only on the lane's public handle, so it works with any lane the app feeds. Updates at most once per animation frame. Requires @chart-on/ui/style.css.

Parameters ​

host ​

HTMLElement

lane ​

DepthLane

options? ​

DepthLadderOptions = {}

Returns ​

DepthLadderHandle