Skip to main content
Version: Next

Interface: BaselineData<HorzScaleItem>

Structure describing a single item of data for baseline series

Type parameters

NameType
HorzScaleItemTime

Hierarchy

Properties

topFillColor1

Optional topFillColor1: string

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


topFillColor2

Optional topFillColor2: string

Optional top area bottom fill color value for certain data item. If missed, color from options is used


topLineColor

Optional topLineColor: string

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


bottomFillColor1

Optional bottomFillColor1: string

Optional bottom area top fill color value for certain data item. If missed, color from options is used


bottomFillColor2

Optional bottomFillColor2: string

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


bottomLineColor

Optional bottomLineColor: string

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


time

time: HorzScaleItem

The time of the data.

Inherited from

SingleValueData.time


value

value: number

Price value of the data.

Inherited from

SingleValueData.value


customValues

Optional customValues: Record<string, unknown>

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

Inherited from

SingleValueData.customValues