All Collections
User Guides
Bar Chart and Histograms Setting Customization
Bar Chart and Histograms Setting Customization

Customize you histograms and bar charts data display in Ubidots

Written by Sergio M
Updated over a week ago

Histograms and Bar charts are very useful for data visualization. Even though they're pretty similar, they don't share the same purpose: while histograms are meant to show the frequency of certain data range, bar charts are intended to compare values through a bars' height or length. Today, we will learn to customize each of these charts.

Histogram Charts

A default histograms created in Ubidots will look like this:

While creating this widget, you will be asked to choose:

  • The number of bins displayed

  • Bins colors

Customize the display

First, go to Device Management -> Dashboards -> Click the "menu" located in upper right corner and select "edit" of the widget to display its settings.

Adjust the information data to fit your desired parameters. Below is an example of customized histogram chart:

Bar Charts and Double Bar Charts

Below is a bar chart with default settings:

To adjust the settings, click the "sprocket" icon in the upper right corner of the menu. 

You can choose in aggregation method the following option to visualize your data:

  • Average: Displays average value per hour or per day based on your sensor's readings.

  • Count: Displays the number of dots received stored in the variable. 

  • Maximum: Displays the maximum value of the variable.

  • Minimum: Displays the minimum value of the variable. 

  • Raw: Displays   the raw data of the variable. 

  • Sum: Displays the summation of the values.

The widget below displays the parameters of the above settings.

  • SI prefix: Adds a unit prefix from the International System of Units (Metric System) to the widget.

Did this answer your question?