Charts and KPIs
Configure line, bar, pie, table, and KPI components.
trend ships a small set of chart types — done well, not done forty different ways. Every chart binds to one dataset and has two config tabs: Data and Format.
The Data tab
This is where you pick which dataset feeds the chart and which columns map to which encoding (X, Y, Series, value, category).
The Format tab
Display options that don’t affect the query: axis labels, legend position, palette overrides, goal lines, data labels.
Chart types at a glance
| Type | Best for | Encoding |
|---|---|---|
| KPI tile | A single number ("Revenue: $48K") | One metric column |
| KPI trend | A number + how it’s changing over time | Date column + metric |
| Line | Time series, multiple series, trends | X (usually date) + Y series |
| Bar | Comparing categories | X (categorical) + Y |
| Pie / Donut | Part-to-whole, ≤ 6 categories | Category + value |
| Table | Rows you want to see literally | All columns |
Filters at the chart level
Even when a dataset doesn’t use templates, you can filter at the chart level — bind any column to a workspace variable (set by a dashboard control). See Controls and variables.