Docs Documentation
Charts and key numbers
Show how things are going on your screens: sales against the target, the queue, the car park, a survey result — as a number, columns, a donut, a gauge or a ranking.
The Chart block puts your numbers on a screen: sales today against the target, the people waiting at the service desk, the free spaces in the car park, the result of this morning’s survey, the temperature in the hall. It reads them from a collection — records someone sends, a data source fills or a sensor writes — or from values you type. When new numbers arrive, every screen showing the chart changes with them; there is nothing to publish.
A chart in the editor: the type, where the numbers come from, and what they come to.
Pick the chart for the job
Add a Chart block in the scene editor and pick its type from the tiles under Chart:
- Number — one headline figure, large, with an optional Change (against the one before or against the target, with an arrow and a color) and an optional Trend line.
- Columns — a few categories side by side, or a value hour by hour.
- Bars — the same lying down, for categories with long names.
- Line and Area — how something changes over time.
- Donut — the parts of one whole, up to six; more fold into “Other”. A hole of 0 makes it a pie.
- Gauge — how full or how far: an Arc or a Meter, From a minimum To a maximum (the target when you leave it empty).
- Ranking — a top list people read: name, bar and value, largest first.
Give it a Title and a Subtitle (“By hour, all stores”) so it reads on its own.
Three Number charts. For waiting time, up is bad, so the change shows in red.
Type the numbers
For numbers that change rarely — a survey result, last year’s figures — set Source to Values I type and write one line per category: North = 1240. Several series go on one line with commas, Q1 = 120, 80, and Series names names them (“Store, Online”). Up to 60 lines.
Values typed by hand: one line each, Label = value.
Read the numbers from a collection
For numbers that keep coming, keep them in a collection (see Templates and data): one record per sale, per reading, per row of a file. A data source can fill it from a CSV file you upload, a JSON address or a feed, or your own system can send records over the API. Set Source to A collection (records), choose the Collection, and tell the chart what to do with it:
- Value — the field with the number, and how to Combine the records: Sum, Average, Count, Lowest, Highest or Newest. Numbers written as
1'234.50,1.234,50,12 %orCHF 30are all read; a value that is not a number is left out, never counted as 0. - Category — what the columns, bars or parts are (a store, a product), or Each record. Split into series by another field gives one series per value (sales by channel); More values as series adds further fields.
- Time field and Group by time — hour, day, week or month. An hour with no sales shows as 0, so a quiet hour is visible.
- Only — every record, today, the last hours or the last days. “Sales today” is Group by time: Hour and Only: Today.
- Only records where — a filter such as
store = Zurich|Basel. - Order, Most shown and The rest — largest first, the top ten, the others left out or added up as “Other”.
Under the mapping, one line says what it comes to, for example “Sum of amount per hour, today → 10 columns · largest CHF 1,520”.
Read a sensor
An external sensor (see External sensors) keeps its readings as records too. Set Source to A sensor (Settings → Sensors) and choose it: the chart reads its time and its newest reading, which makes a live Number or Gauge — the hall’s temperature, the free spaces in the car park.
Sales by hour as columns, with the target as a dashed line.
Money, percent and units
Under Format, Numbers as is a Number, Money (with its Currency, such as CHF) or Percent (the values are Already percent (64) or Shares (0.64)). A Unit goes after the number (“ °C”, “ people”), something Before the number in front (“≈ ”). Decimals are automatic unless you set them, and Large numbers can be shown In full (12,900) or Short (12.9K). Language of numbers chooses how they are written, for example de-CH for 1’234.50; empty, the screen’s language decides. The chart’s own words (Total, Target, Other, No data yet) follow the language the screen shows, in English, German, French and Italian; a category shows its translation when the record has one, for example answer_fr beside answer.
Target and warning colors
Under Target and states:
- Target — draws a dashed line on columns, bars, lines and areas, is where a gauge ends unless you set To, and is what a Number’s change can be measured Against the target.
- Up is — Good (sales) or Bad (waiting time): whether a rise shows in green or in red.
- States — lines like
0 = ok,8 = warn,15 = alert: from that value up the number’s dot, a gauge and the bars take the green, amber or red. For sales, write it the other way round:0 = alert,5000 = warn,10000 = ok.
The colors always sit next to the number in text and the change has an arrow, so nobody has to tell colors apart to read it.
A survey as a donut, and the car park as a gauge that turns amber from 80%.
A ranking: largest first, the rest added up as “Other”.
Look
Under Look: the Colors (Night, Light, Paper, Airport, your workspace brand, or your own), the Frame (a Card, or None to sit directly on the scene), Series colors (automatic — the accent for one series, a color-blind safe set for several — or your own), whether several series sit Side by side or Stacked, whether the Axis starts at zero, Values on the chart and the Legend. Changes chooses whether new values ease in or change at once. When there are no numbers sets what the screen shows instead (“No data yet”).
A chart scales with its box, so the same chart works in a corner and full screen. In the editor, a chart that is not set up yet shows sample numbers, marked Sample, so you can design the look before the data exists.
Charts next to other content: the program, check-ins by hour and the auditorium’s seats.
On the screens
New records reach the screens by themselves, without publishing: a chart picks them up at its next shot, and every panel of a video wall changes together. When a value changes, the bars, arcs and the number ease to it once; nothing moves in between. Charts are drawn simply, so small Android TV boxes and the Raspberry Pi show them too. A chart that groups by hour or shows only today moves on by itself when the next hour or the next day begins.
With your AI assistant
Your AI assistant can add and change charts, and send numbers into a collection: “show today’s sales by hour on the lobby screen, in CHF, with a target of 12,000”. See AI agents.
Not there yet
- Funnel, scatter and heatmap charts.
- Reading a published Google Sheet on a schedule — today, use a CSV file or send the numbers over the API.
Tell us which of these you need first at hello@maravillalabs.com.