Gauge

Visualize single-value data in Ubidots in the form of Gauge charts

The Gauge widget provides a clear and intuitive way to visualize single-value metrics. It is ideal for representing KPIs, performance scores, percentages, or real-time sensor readings. The widget lets users quickly assess the current state of a variable against defined ranges.

For a basic overview of the widget, visit this articlearrow-up-right, which covers the basics of setting up a Gauge widget.

This section covers only the advanced features of the Gauge widget.

ECharts configuration

circle-exclamation

EChartsarrow-up-right is a powerful open-source visualization library designed to create interactive and customizable charts. ECharts provides extensive customization options that let you tailor the appearance and behavior of gauges to fit specific requirements.

The Gauge widget is built on top of the ECharts library. This gives users access to all features provided by the library through the ECharts configuration option in the APPEARANCE tab:

After you click the option, a large drawer opens from the left and shows the ECharts options JSONarrow-up-right. It maps all fields available in the UI and also provides an editing environment where users can take full advantage of the available series types.

circle-info

All fields exposed through the UI are mapped bidirectionally. This means that if you make a change in the UI, it is reflected in the ECharts options JSON, and vice versa.

Examples

The examples below use the ECharts configuration option to produce the results shown. Without this advanced option, you cannot get the same visualization using only the fields available in the UI.

Full circle Gauge

chevron-rightJSON Examplehashtag

Speed meter gauge

chevron-rightJSON Examplehashtag

Pressure gauge

chevron-rightJSON Examplehashtag

Humidity percentage

chevron-rightJSON Examplehashtag

Last updated

Was this helpful?