Skip to content
MyAppBuilder
StableChartsVersion 1

Gauge

Overview

A speedometer-style dial showing one number against a target: revenue vs. goal, capacity used, satisfaction vs. benchmark.

When to use

  • Monthly revenue against the sales target
  • Jobs completed against the weekly plan
  • Average rating against a 4.5 goal
  • Hours booked against capacity

When not to use

  • A plain number without a target: use KPI
  • Several categories: use Bar or Summary

Quick start

  1. Add a Gauge and choose the entity
  2. Set Aggregation (Sum + Y value field for money, Count for volumes)
  3. Set Target / maximum to the goal (e.g. 25000)
  4. Add filters for the period (this month)

Properties

Titletext (bindable)

Heading shown above the chart. Bindable, so it can include the selected period or customer. Leave empty for none.

Default: Gauge

Example: Revenue by month

X axis / category fieldfield

Not used by gauges. Dates are grouped automatically by day, or by month when the data spans more than two months. Select fields keep their option order and labels. When empty, the first Select field (or the display field) is used.

Example: status

Y value fieldfield (number, decimal, currency)

The field reduced to the single value shown on the dial. Ignored for Count. Currency fields are formatted with the app's currency.

Example: amount

Group by (series)field

Not used by gauges. Up to 8 series are shown; smaller ones are folded into “Other”.

Example: technician

Aggregationselect

How records in each category are reduced to one number: Count records, or Sum / Average / Min / Max of the Y value field. Without a Y field, everything falls back to Count.

Options: count, sum, avg, min, max

Default: count

Show legendboolean

Shows the series names under the chart. Only appears when there is more than one series (or for pie/donut slices).

Default: true

Show tooltipboolean

Shows the exact values when hovering or tapping a point, bar or slice.

Default: true

Bubble size field (bubble charts)field (number, decimal, currency)

Only used by Bubble charts; ignored here.

Chart heightnumber (120–800)

Height in pixels. 260 suits dashboard tiles; 400+ for full-width reports.

Default: 260

Target / maximumnumber (min 1)

The value that counts as 100%. The chart shows the computed value against it (e.g. 68 of 100 = 68%). Use your monthly goal, capacity or budget.

Default: 100

Example: 25000

Data binding

An entity query; all matching records (up to 1000) are reduced to one value with the Aggregation over the Y field (or counted). The dial fills in proportion to Target and shows the value, the percentage and the target.

Properties that can use dynamic data: Title, data.

Events

On click
Runs when the dial is clicked (only with actions). Event → category is “total” and Event → value the computed number. Typical: Navigate to the underlying list.

Actions

Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.

Responsive behavior

Fits its container up to the Chart height; works as a dashboard tile at 220–260 px.

Permissions

Only records the current role may read are counted, so a customer's chart shows their own data. Hidden fields are not available as X, Y or Group by for that role.

Accessibility

  • The dial has a text label “<value> of <target> (<percent>%)”
  • When clickable it is a keyboard-focusable button

Examples

Revenue vs. monthly target

Example
X: (none) · Y: Total · Aggregation: SUM · Group by: (none) · Target: 25000
Source: Invoices where status equals paid and paid_at within this month
Dial: 18,400 of 25,000 (74%)

Common patterns

  • Bind the query filters to a period picker so the target stays comparable
  • Target bound to App state for goals that change per team

Limitations

  • Values above the target cap the dial at 100% (the percentage text keeps counting)
  • Up to 1000 records are summed in the browser; use a KPI for very large entities

Troubleshooting

The dial is always full

Why: Target too low or left at 100

Fix: Set Target / maximum to your real goal

Related

Was this helpful?