Skip to content
MyAppBuilder
StableChartsVersion 1

Combo Chart

Overview

Bars and lines on one chart. With one series it draws bars plus a 3-period moving-average trend line; with several series the first half are bars and the rest lines.

When to use

  • Monthly jobs (bars) with the trend (line)
  • Revenue per service as bars and the overall average as a line (Group by with several values)
  • Tickets opened (bars) vs. closed (line) per week when grouped by a type field

When not to use

  • A single plain series: Bar is simpler
  • Two measures with very different scales: there is only one axis

Quick start

  1. Add a Combo Chart and choose the entity
  2. Set X axis / category field to a date field
  3. Set Aggregation and Y value field; leave Group by empty to get bars + trend line
  4. Or set Group by to a field with 2–4 values to mix bars and lines

Properties

Titletext (bindable)

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

Default: Combo Chart

Example: Revenue by month

X axis / category fieldfield

Categories along the bottom, typically dates bucketed by day/month. 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: created_at

Y value fieldfield (number, decimal, currency)

The measure shown by bars and lines. Ignored for Count. Currency fields are formatted with the app's currency.

Example: amount

Group by (series)field

Empty: one bar series plus a “Trend (3-pt avg)” line. Set: the first half of the series become bars, the rest lines. Up to 8 series are shown; smaller ones are folded into “Other”.

Example: type

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

Data binding

Bind Data to an entity query (filters, search, sort) or an API list. Up to 1000 matching records are loaded and aggregated in the browser: one category per X value, one series per Group by value, reduced with the chosen Aggregation over the Y field. Without a data source the editor shows sample data with a “Sample data” badge.

Properties that can use dynamic data: Title, data.

Events

On click
Runs when a bar, point, slice or cell is clicked (only when actions are set). Event → category is the X value (option value, date key or text), Event → value the number(s) and Event → series the series name when grouped. Typical: Navigate to a list filtered on that category, or Set State to drill down.

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

Same as Bar/Line; legend always lists bars and lines.

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

  • Text description lists categories and series values

Examples

Jobs per month with trend

Example
X: Scheduled at (date → month) · Y: (none) · Aggregation: COUNT · Group by: (none)
Source: Jobs where scheduled_at within last 12 months
Result: monthly bars + 3-month moving average line

Common patterns

  • Group by a two-value field (e.g. Type: new/repeat) to get one bar series and one line series

Limitations

  • Single shared Y axis
  • Which series become bars or lines is automatic (by order), not configurable

Troubleshooting

Everything is a bar

Why: Group by has one value only

Fix: Leave Group by empty for the trend line, or group by a field with 2+ values

Related

Was this helpful?