Make sure to also read the Chart.js v3 migration guide (opens new window) since you may be impacted by more general breaking changes due to this new Chart.js version.
# Explicit Plugin RegistrationAs described in the getting started, it's now required to manually register this plugin when building using module bundlers:
# Default OptionsThe plugin default options are now accessible in Chart.defaults.plugins.streaming.*
instead of Chart.defaults.global.plugins.streaming.*
and can be modified using:
See Getting Started › Configuration for details.
# Time scale overrideDue to historical reasons, auto-scrolling was enabled for not only 'realtime' scales but also 'time' scales in the previous version. In version 2.x, auto-scrolling is enabled only for 'realtime' scales.
# Transition Mode for UpdateWhen you append data outside the onRefresh
callback function, chart.update()
needs to be called explicitly. To avoid interrupting the current animation, the previous version provided support for the preservation
config property for the update
function, but it is no longer supported.
Chart.js v3 introduced the transition mode argument, and this plugin now supports the 'quiet'
mode for this purpose.
See Data Feed Models › Pull Model (Polling Based) - Asynchronous for details.
Last Updated: 6/19/2021, 6:53:43 AM
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4