Skip to content

Visualization types

{/* GENERATED FILE — do not edit. Produced by docs/scripts/generate-reference.mjs from VizType and ValueFormat in src/lib/ir.ts. */}

A panel’s viz field selects its renderer. This list is generated from VizType in src/lib/ir.ts, which is the single definition shared by the model’s output schema, the API, persistence, and the client.

Value Notes
line Time series as a continuous line. Requires query.timeField.
area Filled time series. Requires query.timeField.
bar Bars over time or across a categorical dimension.
scatter Relationship between two numeric dimensions.
stat A single scalar value, formatted per panel.format. Omits query.timeField.
table The result rows as an HTML table.
heatmap Two dimensions against a numeric intensity.
pie Proportional breakdown across a small set of categories. Omits query.timeField.
donut A pie with an inner radius. Omits query.timeField.

stat and table are rendered as HTML by PanelView; every other kind is built into an ECharts option by buildChartOption in src/components/charts/options.ts.

panel.format controls how numeric values are rendered by formatValue (src/lib/format.ts). It is optional.

Value
number
bytes
percent
ms