stream-charts
    Preparing search index...
    • Creates a subscription to the series observable with the data stream. This is common code 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

      • timeWindowBehavior: TimeWindowBehavior = TimeWindowBehavior.SCROLL

        Whether to scroll the time axis or squeeze it

      • initialTimes: Map<string, number> = ...

        The initial times for each axis, a map(axis_id -> initial_time)

      Returns Subscription

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