Skip to content

charton API


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

Interface: ProfileRowOptions ​

Defined in: packages/core/src/profile/math.ts:20

How a volume profile divides prices into rows: a row count across the price range, or a fixed row height.

Extended by ​

Properties ​

rows? ​

optional rows?: number

Defined in: packages/core/src/profile/math.ts:27

Rows across the price range; used when rowSize is not set. Unset, the row count follows the bar count by the Rice rule, ceil(2 * n^(1/3)), a standard histogram bin count; the profile series and the drawing size their rows by pixels instead (onScreenRows).


rowSize? ​

optional rowSize?: number

Defined in: packages/core/src/profile/math.ts:29

Fixed row height in price units. Rows then align to multiples of it.