Skip to content
MyAppBuilder
StableChartsVersion 1

Bar Chart

Overview

Vertical bars comparing a number across categories: jobs per status, sales per product, sign-ups per month. The default chart for most business questions.

When to use

  • Jobs per status this month
  • Revenue per service type
  • New customers per month
  • Tickets per priority, split by team (Group by)

When not to use

  • Long category names (people, products with long titles): use Horizontal Bar
  • Trends across many dates: use Line or Area
  • Share of a whole with few categories: use Pie or Donut

Quick start

  1. Add a Bar Chart and choose the entity in Properties → Data
  2. Set X axis / category field (e.g. Status)
  3. Set Aggregation to Count, or Sum with a Y value field (e.g. Amount)
  4. Optionally set Group by to split each bar into coloured series
  5. Add filters to scope the period

Properties

Titletext (bindable)

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

Default: Bar Chart

Example: Revenue by month

X axis / category fieldfield

One bar per distinct value of this field. 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 number each bar represents, combined with Aggregation. Ignored for Count. Currency fields are formatted with the app's currency.

Example: amount

Group by (series)field

Splits each category into side-by-side coloured bars, one per value of this field. 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

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

Half width by default; the chart scales to its container. Up to 30 categories are shown; the rest are merged into “Other” (or, for dates, the latest window is kept).

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 chart has a text description listing the first categories and values
  • Tooltip values are also shown on hover for keyboard users via the description

Examples

Revenue by month

Example
X: Created date (bucketed by month automatically) · Y: Total · Aggregation: SUM · Group by: (none)
Source: Invoices where status equals paid
Title: Revenue by month

Jobs per status, per technician

Example
X: Status · Y: (none) · Aggregation: COUNT · Group by: Technician
Source: Jobs where scheduled_at within this month

Common patterns

  • On Click → Navigate to the Jobs page with status = Event → category
  • A Dropdown of periods bound to App state used in the query filters

Limitations

  • Up to 8 series and 30 categories
  • No secondary axis; use Combo for a second measure
  • Date bucketing is automatic (day/month), not configurable

Troubleshooting

All bars are counts although I chose Sum

Why: No Y value field, or it is not numeric

Fix: Choose a Number/Decimal/Currency field as Y value field

An “Other” bar appears

Why: More than 30 categories

Fix: Filter the query or group by a field with fewer values

Related

Was this helpful?