Include Plotly to NodeRed when there is no internet access

Hello! I am trying to use plotly when there is no internet access. Someone on here suggested downloading plotly-latest.min.js and putting plotly-latest.min.js in a static folder, but I am not sure how to do that. Could someone please provide me with more information on how to include plotly to NodeRed when there is no internet access. Thank you everyone!

Sounds like a question for the Plotly community

https://community.plotly.com/c/dash/16

Welcome to the forum.

If you look around, you will doubtless find the files you want online, so download them first.

To make them available to a Node-RED dashboard, you can configure a "static" folder in Node-RED's settings.js file that you find in your settings folder (usually ~/.node-red). Create a folder, a lot of people use the name public inside that same folder and make the change to settings.js.

Put the downloaded file there.

To load it into the Dashboard, you will need to add a link reference to it in a ui_template node.

Instructions for using the static folder should be in the docs I think - there may be a summary in the settings.js file itself.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.