Callback function that is called when the chart subscribes to the observable
The subscription resulting form the subscribe action
Optionalontodo
OptionalonCallback function that is called when new data arrives to the chart.
OptionalseriesAn observable source for chart data
OptionalshouldWhen true the chart will subscribe to the observable, or if already subscribed, will remain
subscribed. When false the chart will unsubscribe to the observable if subscribed, or will
remain unsubscribed if not already subscribed.
OptionalwindowingThe windowing time for aggregating chart-data events. Defines the update rate of the chart. For example if chart-data events occur every 1 ms, and the windowing time is set to 10 ms, then events will be aggregated for 10 ms, and then the chart will be updated. In this example, the chart would be updated only once per 10 ms.
The values exposed through the useDataObservable react hook