Skip to content
Stand with Ukraine flag

Embedding Charts in Reports

Chart components visualise time-series telemetry directly in a report. ThingsBoard supports 11 chart types, each configurable with its own data source, series, axes, and legend.

Prerequisites: A report template must exist before adding a chart.


Chart typeDescription
Time series chartVisualizes multiple telemetry keys over time; combines line and bar views on a shared time axis
Line chartClassical line graph for comparing continuous trends across entities or keys
Bar chartVertical bars for aggregated totals or side-by-side category comparisons
Point chartIndividual telemetry values displayed as dots on a time axis
State chartIllustrates boolean or discrete-state changes over time
Bar chart with labelsBar chart with numeric value labels rendered on each bar
Range chartDisplays minimum and maximum values as a shaded range band around a central series
BarsSingle-value metric displayed as a compact horizontal progress bar
PieCircular chart showing the proportional breakdown of a snapshot value
DoughnutPie variant with a hollow center; ideal for highlighting a key metric in the middle
Horizontal doughnutSide-by-side doughnut rings for compact multi-metric comparison

  1. Open the report template in the Report Builder.
  2. Drag the the desired chart from the Components library into the content area.
  3. Configure the Data and Layout tabs (see below).
  4. Click Save.

Each chart is configured through a set of tabs in the component editor. The available tabs and options depend on the chart type.

Defines the time interval for displaying telemetry data. Supports relative ranges (e.g. Last 24 hours, Last 7 days) and absolute date ranges. Also controls the aggregation interval applied to the data.

Datasource — defines where the chart pulls its data:

  • Device — a fixed, specific device.
  • Entity alias — a dynamic reference to one or more entities, resolved at runtime. Useful when a chart needs to work across multiple entities simultaneously.

Optionally apply filters to narrow down the entity alias result.

Series — specifies which telemetry keys to visualize (e.g. temperature). Each series entry has a key (telemetry key name) and a label shown in the legend (supports variables such as ${entityName}). Depending on the chart type, each data key may expose additional options such as units, colors, and line or bar styles.

Adjusts the visual appearance of the component: height, width, alignment, padding, margins, background color, and border styles.

The following tabs appear depending on the selected chart type:

TabDescription
Y axesAxis labels, units, position, and min/max value ranges to control vertical data display
ThresholdsReference lines based on constant values, entity keys, or other entities — useful for highlighting safe, warning, or critical limits
X axisHorizontal axis properties: label, position, tick density, and vertical grid line visibility
LegendPlacement, formatting, and content — clarifies which series each color represents

Compare Temperature Across Devices in a Report — step-by-step walkthrough: add a Line chart component to a report template and configure it to compare temperature telemetry from multiple devices over the past 24 hours.