stream-charts
    Preparing search index...
    • Function has side effects on the Series (for performance).

      Creates a subscription to the series observable with the data stream. The common code is shared by the plots.

      Parameters

      • seriesObservable: Observable<TimeSeriesChartData>

        The series observable holding the stream of chart data

      • onSubscribe: (subscription: Subscription) => void

        Callback for when the observable is subscribed to

      • windowingTime: number

        Basically the update time when data is collected and then rendered

      • axisAssignments: Map<string, AxesAssignment>

        The assignment of the series to their x- and y-axes

      • xAxesState: AxesState<ContinuousNumericAxis>

        The current state of the x-axis

      • onUpdateData: ((seriesName: string, data: Datum[]) => void) | undefined

        Callback for when data is updated

      • dropDataAfter: number

        Limits the amount of data stored. Any data older than this value (ms) will be dropped on the next update

      • updateTimingAndPlot: (ranges: Map<string, ContinuousAxisRange>) => void

        The callback function to update the plot and timing

      • seriesMap: Map<string, TimeSeries>

        The series-name and the associated series

      • setCurrentTime: (axisId: string, end: number) => void

        Callback to update the current time based on the streamed data

      • cadencePeriod: number

        The number of milliseconds between time updates

      Returns Subscription

      A subscription to the observable (for cancelling and the likes)