@sid9-honeybee/chartjs-plugin-streaming
v3.0.6
Published
Chart.js plugin for live streaming data
Downloads
2
Maintainers
Readme
chartjs-plugin-streaming
Chart.js plugin for live streaming data
Forked from https://github.com/nagix/chartjs-plugin-streaming because it appears to be unmaintained.
Forked from https://github.com/Robloche/chartjs-plugin-streaming because it's a slight error in the tooltip display of the chart, so we branched to fix it. Since it is an open source project, anyone can fork it and modify it if necessary. Thanks to the original author, @nagix, and to @robloche for a recent fix.
chartjs-plugin-streaming 3.x requires Chart.js 4.1.1 or later. If you need Chart.js 2.x support, use the following versions.
- For Chart.js 2.9.x, 2.8.x or 2.7.x, use version 1.9.0 (tutorials and samples)
- For Chart.js 2.6.x, use version 1.2.0
- For Chart.js 4.x, use version 3.0.0
Documentation
Development
You first need to install node dependencies (requires Node.js):
npm install
The following commands will then be available from the repository root:
npm run build # build dist files
npm run build:dev # build and watch for changes
npm run lint # perform code linting
npm run package # create an archive with dist files
npm run docs # generate documentation (`dist/docs`)
npm run docs:dev # generate documentation and watch for changes
License
chartjs-plugin-streaming is available under the MIT license.