Skip to content

charton API


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

Interface: DepthRow ​

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

One bar of the lane, in lane-local css px.

Properties ​

best ​

best: boolean

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

The best bid or the best ask.


length ​

length: number

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

Bar length, scaled so the largest visible size fills the lane.


price ​

price: number

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


side ​

side: "bid" | "ask"

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


size ​

size: number

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


thickness ​

thickness: number

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

Bar height.


y ​

y: number

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

Vertical centre of the bar.