I’m trying to create a custom Node-RED dashboard node by cloning the existing ui_chart
node. I copied both the ui_chart.js
and ui_chart.html
files and renamed them to ui_custom.js
and ui_custom.html
. The node appears in the Node-RED palette, and I can add it to flows, but the chart is not showing up in the UI on the dashboard.
Steps I’ve Taken:
- Copied the contents of
ui_chart.js
andui_chart.html
. - Renamed the files to
ui_custom.js
andui_custom.html
. - Made sure to modify the names in the
.js
and.html
files accordingly (e.g., renaming functions and modules to avoid conflicts withui_chart
). - I see the DOM structure is present in the nodes, and the custom node appears in the flow, but the chart itself does not render on the UI.
- The original
ui_chart
node works perfectly when added to flows.
Issue:
The cloned node doesn't display any chart or functionality in the dashboard UI even though it is available for use in flows. How can I resolve this issue to make the chart visible in the UI?
Any help would be appreciated. Thank you!