/chartjs-plugin-streaming

Chart.js plugin for live streaming data

Primary LanguageJavaScriptMIT LicenseMIT

chartjs-plugin-streaming

npm GitHub Workflow Status Code Climate Awesome

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.

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.