Skip to main content
Version: 4.2

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

NameType
HorzScaleItemTime

Hierarchy

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.

Inherited from

CustomSeriesWhitespaceData.customValues