Live card
Category: Operations. Tags: Factories and warehouses, Numbers and metrics, Charts and gauges.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Line 1" | maxLength: 40 | |
unit | string | "units" | maxLength: 16 | |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
hours | array | [] | maxItems: 24 | |
hours[].hour | string | pattern: "^\\d{1,2}:\\d{2}$"; Required | The slot's start, HH:MM in the screen's zone. Slots run in order and may cross midnight; a slot lasts until the next one starts (the last as long as the one before it, else an hour). | |
hours[].target | number | minimum: 0; Required | ||
hours[].actual | number, null | null | minimum: 0 | Units made in the slot so far. Absent in a finished slot counts as 0. |
shiftTarget | number, null | null | minimum: 0 | The shift's target; empty sums the slots' targets. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type production-tracker --major 1 --file params.json --context-file context.md
Example data
{
"hours": [],
"shiftTarget": null
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.