Pie Chart
Overview
A circle divided into slices showing each category's share of the total. Best with 2–6 categories and one measure.
When to use
- Share of jobs per status
- Revenue split by service type
- Leads by source
- Payment methods used
When not to use
- More than 8 categories: slices become unreadable (use Bar or Horizontal Bar)
- Comparing values precisely: bars are easier to read
- Trends over time: use Line
Quick start
- Add a Pie Chart and choose the entity
- Set X axis / category field to a Select field (e.g. Source)
- Keep Aggregation Count, or Sum with a Y value field
- Keep the legend on so slices are named
Properties
Heading shown above the chart. Bindable, so it can include the selected period or customer. Leave empty for none.
Default: Pie Chart
Example: Revenue by month
One slice per distinct value; up to 8 slices, then “Other”. 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: source
The size of each slice with Sum/Average; Count uses record counts. Ignored for Count. Currency fields are formatted with the app's currency.
Example: amount
Not used by pie charts; the first series only is drawn. Up to 8 series are shown; smaller ones are folded into “Other”.
Example: technician
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
Shows the series names under the chart. Only appears when there is more than one series (or for pie/donut slices).
Default: true
Shows the exact values when hovering or tapping a point, bar or slice.
Default: true
Only used by Bubble charts; ignored here.
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
The circle shrinks to fit; keep Chart height around 260 for tiles.
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 slice names and values
- Colours follow a fixed, colour-blind-checked palette; the legend carries the names
Examples
Leads by source
X: Source (Select) · Y: (none) · Aggregation: COUNT · Group by: (none) Source: Leads where created_at within this quarter
Common patterns
- On Click → Navigate to the list filtered on Event → category
- Summary component next to it for the exact numbers
Limitations
- Zero-value categories are hidden
- Group by is ignored
- Maximum 8 slices (7 + Other)
Troubleshooting
Why: All records share the same X value, or X is empty
Fix: Pick a field with several values as X