Skip to main content
Version: Next

Interface: BarData<HorzScaleItem>

Structure describing a single item of data for bar series

Type parameters

NameType
HorzScaleItemTime

Hierarchy

Properties

color

Optional color: string

Optional color value for certain data item. If missed, color from options is used


time

time: HorzScaleItem

The bar time.

Inherited from

OhlcData.time


open

open: number

The open price.

Inherited from

OhlcData.open


high

high: number

The high price.

Inherited from

OhlcData.high


low

low: number

The low price.

Inherited from

OhlcData.low


close

close: number

The close price.

Inherited from

OhlcData.close


customValues

Optional customValues: Record<string, unknown>

Additional custom values which will be ignored by the library, but could be used by plugins.

Inherited from

OhlcData.customValues