Skip to main content
Version: Next

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

readonly data: TData

The original custom data item provided by the user.


index

readonly index: number

The time index of the data point in the series.


originalTime

readonly originalTime: HorzScaleItem

The original time value provided by the user.


time

readonly time: unknown

The internal time point object.


priceValues

readonly priceValues: 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.