refers to the chart-data that is used by the Observable that has the stream of data.
refers to the datum in the data-series
refers to the type for the series style
OptionalasOptional conversion function that converts an array of base-series with datum type D to a descendent of a ChartData object
The initial array of series
OptionalbackgroundThe base/default background color. This can be overridden by the Props.svgStyle property.
The child components of the chart (i.e. the axis, plot, tracker, tooltip)
OptionalcolorThe base/default color of the chart lines. This can be overridden by the Props.svgStyle property.
The height of the chart container
Initial (static) data to plot before subscribing to the ChartData observable.
OptionalmarginThe margin between the edges of the chart container and the axes
OptionalonCallback when the chart subscribes to the ChartData observable
The RxJS subscription
OptionalonCallback when the time range changes. This is generally used by plots where the x-axis starts to scroll as the data streams in past the end of the current time window.
A function that accepts the ranges, (start, end) associated with each axis in the plot. The ranges argument is a map(axis_id -> (start, end)). Where start and end refer to the range for the axis.
OptionalonCallback for updating the current chart time. This is generally used by plots where the axes do not represent time, but rather some fix values, and the data hold time information
The current chart time
OptionalonCallback function that is called when new data arrives to the chart.
OptionalseriesRegular expression that filters which series to display on the plot. Can be update while streaming
OptionalseriesChartData RxJS Observable that feeds the chart data to display (i.e. the data stream).
OptionalseriesMap holding the series name to the series style associated with that series.
OptionalshouldWhen switching to true from false, subscribes to the seriesObservable. When switching
to false from true, unsubscribes from the seriesObservable.
OptionalsvgOverrides for the SVG style
The width of the chart container
OptionalwindowingThe time-window (in milliseconds) to buffer the incoming data before updating the chart. This is a lever to reduce the lag between real-time and chart-time when a large amount of data is being sourced by the observable. Smaller time-windows result in smoother scrolling, but more updates, and possibly a larger lag.
Param: chartId
A unique identifier for the chart. This is used to identify the chart in the DOM.
Param: width
The width of the chart container
Param: height
The height of the chart container
Param: margin
The margin between the edges of the chart container and the axes
Param: color
The base/default color of the chart lines. This can be overridden by the Props.svgStyle property.
Param: backgroundColor
The base/default background color. This can be overridden by the Props.svgStyle property.
Param: svgStyle
Overrides for the SVG style
Param: seriesStyles
Map holding the series name to the series style associated with that series.
Param: initialData
Initial (static) data to plot before subscribing to the ChartData observable.
Param: asChartData
Optional conversion function that converts an array of base-series with datum type D to a descendent of a ChartData object
Param: seriesFilter
Regular expression that filters which series to display on the plot. Can be update while streaming
Param: seriesObservable
ChartData RxJS
Observablethat feeds the chart data to display (i.e. the data stream).Param: windowingTime
The time-window (in milliseconds) to buffer the incoming data before updating the chart. This is a lever to reduce the lag between real-time and chart-time when a large amount of data is being sourced by the observable. Smaller time-windows result in smoother scrolling, but more updates, and possibly a larger lag.
Param: shouldSubscribe
When switching to
truefromfalse, subscribes to the seriesObservable. When switching tofalsefromtrue, unsubscribes from the seriesObservable.Param: onSubscribe
Callback when the chart subscribes to the ChartData observable
Param: onUpdateAxesBounds
Callback when the time range changes. This is generally used by plots where the x-axis starts to scroll as the data streams in past the end of the current time
Param: onUpdateChartTime
Callback for updating the current chart time. This is generally used by plots