Status matrix chart reference
Contents: Use cases, Chart IDs, Minimal spec, Data, Options, Annotations, Sizing, Fixtures, Not for.
Entity × period matrix with discrete semantic states, visible sparse cells, and truthful state keys. Type status.
Use cases
- Project status by period
- RAG matrix
- Milestone tracking
Chart IDs
One form; its chart ID is status.
Minimal spec
{
"type": "status",
"data": {
"rows": [{ "id": "pricing", "label": "Pricing" }, { "id": "service", "label": "Service" }],
"columns": [{ "id": "design", "label": "Design" }, { "id": "pilot", "label": "Pilot" }],
"cells": [
{ "row": "pricing", "col": "design", "state": "done" },
{ "row": "pricing", "col": "pilot", "state": "open" },
{ "row": "service", "col": "design", "state": "open" }
]
},
"options": {
"states": [
{ "id": "done", "label": "Done", "tone": "good" },
{ "id": "open", "label": "Open", "tone": "neutral" }
],
"title": "Pricing design is done; pilot work remains open",
"source": "Illustrative data"
}
}Data
A cell is a number, null or a value object; see Value cell.
| Path | Type | Required | Meaning |
|---|---|---|---|
| rows | array | yes | Matrix rows displayed in the supplied order. |
| rows[].id | string | yes | Unique matrix-row identity referenced by cells. |
| rows[].label | string | Displayed matrix-row name; defaults to its id. | |
| columns | array | yes | Matrix columns displayed in the supplied order. |
| columns[].id | string | yes | Unique matrix-column identity referenced by cells. |
| columns[].label | string | Displayed matrix-column name; defaults to its id. | |
| cells | array | yes | Unique row/column bindings to declared states; unbound positions remain missing. |
| cells[].row | string | yes | Id of the matrix row containing this cell. |
| cells[].col | string | yes | Id of the matrix column containing this cell. |
| cells[].state | string | yes | Id of a state declared in options.states. |
| cells[].value | cell | Optional value printed under the state label, or alone when the cell is too small for both. A value object can set its own format, such as { number: 97.5, format: '1.0%' }. |
Options
| Path | Type | Values | Default | Meaning |
|---|---|---|---|---|
| labels | false | object | false (or another value of its type) | False hides cell state and value labels. Row and stage names remain. series: false hides row names; category: false hides stage names. When the state key is drawn and color or hatch tells the states apart, the key names them and the cells print no state names, unless labelDensity is 'full'; then the names print at the largest type step where all of them fit, and if no step fits they stay off with a label-hidden warning and one reading.omissions entry per state. Otherwise state names print in every bound cell only when all of them fit; else the key names states. | |
| legend | string | object | 'top', 'bottom', 'right', 'left', 'none' (or another value of its type) | State-legend placement, or none to suppress the legend while cells name every used state. A required key remains when cell state names are not drawn, including a one-state matrix. A grid panel's explicit none leaves the state key with the host. | |
| legend.position | string | 'top', 'bottom', 'right', 'left' | Place the categorical state legend at the top or bottom, or in a column beside the matrix. | |
| states | array | One to six declared categorical states defining cell meaning, legend labels and paint. | ||
| states[].id | string | Unique state identity referenced by matrix cells. | ||
| states[].label | string | Visible state name used by the legend and the accessible description. The description lists each state with its cell count, as 'On track 12', then 'No status 3' for empty cells; the reading carries each count as a derived claim with that text. | ||
| states[].tone | string | object | 'good', 'bad', 'neutral', 'warn', 'info' (or another value of its type) | Semantic verdict tone, or an explicit theme role for the state fill. | |
| states[].tone.role | string | Named semantic theme color role for this state. | ||
| states[].pattern | string | 'hatch45' | Optional 45-degree hatching to distinguish this state beyond color. | |
| columnLabels | string | 'top', 'bottom' | 'top' | Column-caption position; defaults to top. |
| columnOverrides | object | Settings per generated column. Ids: label, each data.columns id. | ||
| columnOverrides.*.width | number | Track width in px. It beats the width the type would pick. | ||
| columnOverrides.*.align | string | 'left', 'right', 'center' | Alignment of the column: its cell text and, unless headAlign is set, its head. Bars keep starting at the panel origin. | |
| columnOverrides.*.headAlign | string | 'left', 'right', 'center' | Head alignment; defaults to align. | |
| columnOverrides.*.label | string | Head text. |
Plus the shared options. This type does not accept detailFields, labelPosition, valueAxis, rounding, annotations. This type ignores animate, debug, rowLabels, categoryAxis, categoryLabels, secondaryAxis, sort, topN, bandFraction, valueAxis.show, valueAxis.gridlines with an option-ignored warning.
Annotations
This type takes no annotations.
Sizing
Floor 280 × 28 px; fit content.
Below the floor a render is refused with size-below-floor and the pixels it needs. measure returns the natural and comfortable size for a given spec; see Sizing in the manual.
Fixtures
| ID | Kind | Use case |
|---|---|---|
| central-bank-decisions | torture | Central-bank policy decisions: 24 entities × 60 monthly periods |
| programme-rollout-rag | example | Consulting program rollout RAG board with sparse future gates |
| capability-assessment | example | Capability assessment with a patterned unverified state |
| review-status-legend-none | torture | Review status with one explained state and no legend |
| review-status-legend-right | example | Review status with a state legend in a column beside the grid |
| review-status-legend-bottom | torture | Review status with a bottom legend |
| review-status-legend-top | torture | Review status with a top legend |
| torture-long-labels | torture | Torture: long names at a generous size read whole, never cut |
| programme-rollout-rag-dark-fills | torture | RAG board on a dark theme with colorblind fill roles |
| rag-forecast-hatched | torture | RAG board with each tone plain and hatched beside cells without a status |
| review-status-legend-object | torture | Review status with the legend placed above through a position object |
| status-with-values | torture | State cells include their measured values |
| capability-assessment-full-fill | torture | Capability board with good and neutral cells in their full colors |
| column-widths | example | A wider last column, aligned heads and a renamed head |
Not for
Numeric magnitudes; status cells hold discrete states.