Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-data-view

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-data-view - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "node-red-contrib-data-view",
"version": "0.0.1",
"version": "0.0.2",
"description": "Easy way of previewing live data in your flows",

@@ -5,0 +5,0 @@ "main": "index.js",

# node-red-contrib-data-view
Node-RED node to preview data with a simple line chart inside the Node-RED flow editor. This node was inspired by the simple image preview node `node-red-contrib-image-output`.
Node-RED node to preview data with a simple line chart inside the Node-RED flow editor. This node was inspired by the simple image preview node `node-red-contrib-image-output`.
Currently the node expects the input `msg.payload` to contain a number value. The node will then create a line chart in the flow editor under the node displaying the values received over time.
Currently the node expects the input `msg.payload` to contain a number value. The node will then create a line chart in the flow editor under the node displaying values received over time.
> NOTE: This node is a work in progress. I expect to add additional chart options, chart types and support different shapes of data. Feedback is welcome.
> NOTE: This node is a work in progress. The intended use case for this node is for simple demos and debugging. The state of the chart is currently maintained in the client, so that refreshing the page, or opening a new view on the flow will cause the chart to reset. I expect to add additional chart options, chart types and support different shapes of data. Feedback is welcome.

@@ -19,3 +19,3 @@ ## Installation

The following example demonstrates how to inject numbers into the node to generate charts, how to clear a chart, and test node error handling when a non-numeric payload is used in <code>msg.payload</code>.
The following example demonstrates how to inject numbers into the node to generate charts. To clear a chart, send a null or undefined <code>msg.payload</code> value as shown.

@@ -36,12 +36,9 @@ ```

### Line points
The number of points to display in the chart before they are dropped. The client side code maintains a circular buffer for each node.
The number of points to display in the chart before they are dropped. The client side code maintains a circular buffer for each node.
### Hide chart on deactivate
Hide the chart when node is deactivated to reduce clutter. This is set to true to default. Note that when the node is deactivated, any data sent to the chart is dropped.
### Allow data passthrough
When selected this adds an output wire to the node in order to pass the original message through to a following node.
When selected this adds an output wire to the node in order to pass the original message through to a following node. This performs better than forking the wires, however it does remove the enable/disable button.
This performs better than forking the wires, however it does remove the enable/disable button.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc