Bar Chart Node
Bar Chart Node
Article summary
Did you find this summary helpful?
Thank you for your feedback
Bar Chart Node
The Bar Chart node displays input data in vertical bars based on predetermined logic. This type of chart is useful for comparing data across different groups or tracking changes over time. It’s most effective when you’re working with bigger changes.
Adding a Bar Chart node to your workflow
- First, select your desired solution and navigate to Rayven Workflow.
- Select ‘Visualizations’ from the left-hand panel.
- Find the Bar Chart node and drag it onto the canvas.
- Connect the Bar Chart node to your desired input node.
- Double click on the Bar Chart node to open its configuration window.
Configuring your Bar Chart node
- First, give your node a Name. Choose something simple that clearly explains its purpose.
- If you want, you can add a Widget Subtitle. This additional text helps explain the data presented in the node. Anything added here will appear directly under the Widget Name in a smaller font.
- Select the Device/Device Label Name checkbox if you want the device or label name displayed on the widget.
- Next, enter your Input Data Field: the field name within the incoming payload with the data value(s) you want the widget to display.
- Choose a Functionto apply to the data based on how you want your chart’s data calculated. The options are:
- Sum,
- Average,
- Maximum,
- Minimum,
- Accumulated,
- As-Is,
- Last value received.
- Enter an X-axis Time Interval to determine the period of input data. It must be an integer.
- Select a Unit of Measurement from the dropdown menu. These range from minutes to years.
- You can choose your own Widget Refresh Interval to determine how often the chart updates in seconds.
- Next, add a Y-axis Name or Title.
- If you want chart outputs to appear in a new field, enter this value under Output Field Name.
- You can enter a Range for your chart. Range Min should contain the lower value and Range Max the upper.
- Check Enable to Display Future Data if you want to plot predictive values.
- You can select colors for the bar chart display using the Bar Color field.
- If working to Decimal Precision, enter the number of decimal places you want the dashboard data to display.
Selecting a date format
To configure any bar chart, you must choose a date format. When configuring your X-axis and Tooltip fields, select from the following options:
- Default,
- Date only,
- Time only.
Grouping by device label
You will need to save at least one label in the Device Labels section of the Workspace before configuring this section. See Creating Device Labels for more information.
- Select your desired device label and enter it under Device Label Name.
- Select a method for grouping the widget on the dashboard from the dropdown options:
- No Grouping (widget per device) will create a unique widget for each device.
- Group by device label value (widget per label value) will create a unique widget for each unique label value. For example, if the device label is ‘Color’ and the label values are ‘Green’ and ‘Gold’, the dashboard will display two widgets. One will show data for devices labeled ‘Green’, and the other for devices labeled ‘Gold’.
- Group by device label name (one widget) will display only one widget. It will contain data from all devices that have the device label specified.
See also: Creating a dashboard, Creating device labels, and Configuring nodes using labels.