Interface: CustomConflationContext<HorzScaleItem, TData>
Context object provided to custom series conflation reducers. This wraps the internal SeriesPlotRow data while providing a user-friendly interface.
Type parameters
• HorzScaleItem = Time
• TData extends CustomData<HorzScaleItem> = CustomData<HorzScaleItem>
Properties
data
readonlydata:TData
The original custom data item provided by the user.
index
readonlyindex:number
The time index of the data point in the series.
originalTime
readonlyoriginalTime:HorzScaleItem
The original time value provided by the user.
time
readonlytime:unknown
The internal time point object.
priceValues
readonlypriceValues:CustomSeriesPricePlotValues
The computed price values for this data point (as returned by priceValueBuilder). The last value in this array is used as the current price.