cardinal

Dashboards and charts

Number cards and charts on a workspace or on a Dashboard page.

Number Cards and Dashboard Charts show numbers from a RecType's Records. Each viewer's number counts only the Records they can read. Only a System Manager creates them. Put them on a workspace or group them on a Dashboard.

Number Card

FieldExample
LabelOverdue Invoices
RecTypeSales Invoice
FunctionCount, Sum or Average
Based Onoutstanding_amount, for Sum and Average
Filters[["docstatus", "=", 1], ["status", "=", "Overdue"]]
Dynamic Filters[["company", "=", "default:company"]], filled from each viewer's defaults
Warning At, Danger At100000, 500000

A card at or past a threshold shows a tinted border and the words "Needs attention" or "Needs action". A Danger At below Warning At means low numbers are bad. Clicking the card opens the list with the same filters.

Dashboard Chart

Open /desk/dashboard-chart/new. Set Chart Name Monthly Sales and Chart Source Sum.

Set RecType Sales Invoice, Time Series Based On posting_date and Value Based On grand_total.

Pick Timespan Last Year and Time Interval Monthly. Add Filters [["docstatus", "=", 1]].

Choose Type Bar and save. Tick Is Public to show it to every user who can read Sales Invoice.

Chart SourceDraws
Count, Sum, AverageOne value per period over a date field
Group ByOne value per value of a field, such as invoices per customer. Number of Groups keeps the largest
ReportA saved Report's rows. Pick the X Field and Y Axis columns, or tick Use Report Chart
CustomA chart an installed app computes
FieldOptions
TypeLine, Bar, Percentage, Pie, Donut, Heatmap, Area, Funnel
TimespanLast Year, Last Quarter, Last Month, Last Week, Select Date Range
Time IntervalYearly, Quarterly, Monthly, Weekly, Daily
RolesOnly these roles see the chart. Empty leaves it to read on the RecType
Parent RecTypeFor a chart on a child table, the RecType that holds its rows

A workspace with a period filter passes its dates to every chart and card on it.

Dashboard

A Dashboard puts number cards and charts on one page.

FieldUse
Dashboard NameSales Overview
Number CardsOne row per card
ChartsOne row per chart, with Width Half or Full

Open it with Show Dashboard on the form, or at /desk/dashboard-view/Sales Overview. Viewers see only the cards and charts they may read.

Apps ship standard cards, charts and dashboards. These are read only, and a card or chart in use on a workspace cannot be deleted.

On this page