Skip to content

charton API


charton API / @chart-on/core / index / createDepthLane

Function: createDepthLane() ​

createDepthLane(options?): DepthLane

Defined in: packages/core/src/depth-lane.ts:173

Create a depth lane that shows order book sizes beside the price axis. Attach it with chart.attachPrimitive (or use chart.addDepthLane, which does both), then feed it levels with setLevels and update.

Parameters ​

options? ​

Partial<DepthLaneOptions> = {}

Returns ​

DepthLane