stream-charts
    Preparing search index...
    • Creates a subscription to the series observable with the data stream. The common code is shared by the plots.

      Parameters

      • seriesObservable: Observable<IterateChartData>

        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

      • xAxesState: AxesState<ContinuousNumericAxis>

        The current state of the x-axis

      • yAxesState: AxesState<ContinuousNumericAxis>

        The current state of the y-axis

      • onUpdateData: ((seriesName: string, data: IterateDatum[]) => 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

      • updateRangesAndPlot: () => void

        The callback function to update the plot

      • seriesMap: Map<string, IterateSeries>

        The series-name and the associated series

      • updateCurrentTime: (time: number) => void

        Callback to update the current time based on the streamed data

      Returns Subscription

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