Metric line

Show one column from the query row as a labeled metric (<dt> / <dd> inside the card <dl>).

Ingredient Family: metricsCardIngredients

Outline Display: Show column {{metricColumn}}{{metricCaption: labeled {{metricCaption}}}}{{orientation|tone: ({{orientation:orientation {{orientation}}}}{{tone:{{orientation:, }}tone {{tone}}}})}}

Local scope

The parent slot binds these (look up the slot in the parent to see how):

  • $queryTab – Single-row SQL query output

Settings

Required

  • metricColumn : column of $queryTab (type filter: showable type)
    Query column whose value appears on this metric line.

  • metricCaption : constant value (type: text; optional)
    Optional label before the value (defaults to the column name).

Optional

  • orientation : choice (one of: Vertical, Horizontal)
    Lay out label and value vertically or on one row.

  • tone : choice (one of: Default, Positive, Negative, Warning, Muted)
    Optional emphasis style for the rendered value.