Skip to main content
Version: 4.1

Interface: CandlestickData<HorzScaleItem>

Structure describing a single item of data for candlestick series

Type parameters

NameType
HorzScaleItemTime

Hierarchy

  • OhlcData<HorzScaleItem>

    CandlestickData

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