Skip to main content
Version: 4.2

Interface: CandlestickData<HorzScaleItem>

Structure describing a single item of data for candlestick series

Extends

Type parameters

HorzScaleItem = Time

Properties

color?

optional color: string

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


borderColor?

optional borderColor: string

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


wickColor?

optional wickColor: string

Optional wick 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