Skip to content

charton API


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

Interface: ActivityBar ​

Defined in: packages/core/src/data/aggregate.ts:110

A bar built by activity rather than time; see ActivityBarOptions.

Extends ​

Properties ​

borderColor? ​

optional borderColor?: string

Defined in: packages/core/src/types.ts:25

This bar's body outline colour in candle styles that draw bodies (not the bar styles), while borders is on.

Inherited from ​

Bar.borderColor


buyVolume? ​

optional buyVolume?: number

Defined in: packages/core/src/types.ts:16

Part of volume from buy-side (aggressor) trades, when the data reports it. The rest of volume counts as sell-side. Used by volume profiles.

Inherited from ​

Bar.buyVolume


close ​

close: number

Defined in: packages/core/src/types.ts:10

Inherited from ​

Bar.close


color? ​

optional color?: string

Defined in: packages/core/src/types.ts:21

This bar's body colour in candle styles (the bar and tick lines of bar styles), over the series' up and down colours. Line and area styles ignore it.

Inherited from ​

Bar.color


endTime ​

endTime: number

Defined in: packages/core/src/data/aggregate.ts:120

Time of the bar's latest trade so far.


high ​

high: number

Defined in: packages/core/src/types.ts:8

Inherited from ​

Bar.high


low ​

low: number

Defined in: packages/core/src/types.ts:9

Inherited from ​

Bar.low


open ​

open: number

Defined in: packages/core/src/types.ts:7

Inherited from ​

Bar.open


startTime ​

startTime: number

Defined in: packages/core/src/data/aggregate.ts:118

Time of the bar's earliest trade.


time ​

time: number

Defined in: packages/core/src/data/aggregate.ts:116

The first trade's time, or the previous bar's time plus minGap when that is later, so bar times always increase. Bars are unevenly spaced in time; the time axis spaces them by index and labels their real times.

Overrides ​

Bar.time


volume? ​

optional volume?: number

Defined in: packages/core/src/types.ts:11

Inherited from ​

Bar.volume


wickColor? ​

optional wickColor?: string

Defined in: packages/core/src/types.ts:23

This bar's wick colour in candle styles that draw wicks (not the bar styles), while wicks is on.

Inherited from ​

Bar.wickColor