Interface: BarData<HorzScaleItem>
Structure describing a single item of data for bar series
Type parameters
Name | Type |
---|---|
HorzScaleItem | Time |
Hierarchy
OhlcData
<HorzScaleItem
>↳
BarData
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
open
• open: number
The open price.
Inherited from
high
• high: number
The high price.
Inherited from
low
• low: number
The low price.
Inherited from
close
• close: number
The close price.
Inherited from
customValues
• Optional
customValues: Record
<string
, unknown
>
Additional custom values which will be ignored by the library, but could be used by plugins.