Skip to content

charton API


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

Function: volumeOf() ​

volumeOf(bar, prev, theme): ValuePoint

Defined in: packages/core/src/series.ts:981

Volume histogram point for follow: the bar's volume, colored by whether it closed up or down.

Parameters ​

bar ​

Bar

prev ​

Bar | undefined

theme ​

ChartTheme

Returns ​

ValuePoint