Interface: CustomData<HorzScaleItem>
Base structure describing a single item of data for a custom series.
This type allows for any properties to be defined within the interface. It is recommended that you extend this interface with the required data structure.
Type parameters
Name | Type |
---|---|
HorzScaleItem | Time |
Hierarchy
CustomSeriesWhitespaceData
<HorzScaleItem
>↳
CustomData
Properties
color
• Optional
color: string
If defined then this color will be used for the price line and price scale line for this specific data item of the custom series.
time
• time: HorzScaleItem
The time of the data.
Inherited from
CustomSeriesWhitespaceData.time
customValues
• Optional
customValues: Record
<string
, unknown
>
Additional custom values which will be ignored by the library, but could be used by plugins.