A Node-RED node that provides Chart.js-based charts for Node-RED dashboards. Version 0.5.2 supports line, multi-line, vertical/horizontal bar, pie, doughnut, polar area, bubble, and radar charts. Charts are served on configurable HTTP paths and can be updated at runtime via msg.payload. Uses socket.io and serve-static on the server side. This package is a Node-RED community contribution, not actively maintained with regular releases. Key differentiator: it enables dynamic chart creation and updates within Node-RED flows without custom code.
npm install node-red-contrib-chartjsNo compatibility data collected yet for this library.
Shows how to send chart data to the Chart.js node via msg.payload in Node-RED.
Use array for linear (line, multi-line) charts, object for pie, bar, etc. See documentation for exact format.
Restart Node-RED server after npm install.
Configure a distinct path in node properties for each chart instance.
Check that Node-RED is running and chart path (e.g., /myChart) is not blocked by firewall. Restart both Node-RED and browser.
Ensure msg.payload contains a valid dataset array with x and y fields. Example: { dataset: [{ x: 'A', y: 1 }] }Reinstall package: npm install node-red-contrib-chartjs --save
No dependency data recorded yet.