Bar charts are very useful and popular for data visualization, as they are intended to compare values through a bars' height. Today, we will learn how to create one in Ubidots Dashboards.

Requirements

Create a bar chart widget

Step 1:Click on the top-right "+" button
Step 2: Select the bar chart widget option
Step 3: Add the variable(s) to be displayed and fill the following parameters:
– Set the Bar name
– Select the Aggregation Method to compute maximum, minimum, count, average or sum based on the variable's data or simply display the variable's last value.
–Choose a time span for each variable. Option "Set by dashboard" correspond to the Dashboard's general date time picker span.
–Select the bar color in the color picker next to the variable or add a color logic based on the variable's value.

IMPORTANT NOTE: if your dashboard is dynamic and so the Bar chart widget, you will need to enter the variable label the dashboard is going to look for within the selected device.

Step 4: Make sure all available fields are correct:
Name your Bar chart widget
– Select the decimal places and date format

Other users also found helpful:

Did this answer your question?