ReportspaceReportspace
Documentation
Back
  • About
  • How we test
  • Blog
  • Contact
  • Terms of Service
  • Privacy Policy
  • Concepts
    • Fixed layout and capacity
    • Sources and field types
    • Slot bindings
    • Rules and band sets
    • Badge presets and scales
    • Brand profiles
    • Zapier and the API
    • Runs, snapshots and determinism
    • PDF import
    • The assistant
  • Walkthroughs
    • From a PDF to a bound report
    • From a Jotform form to a report
    • Rebrand a template for another client
    • Change a cutoff everywhere
  • Reference
    • Elements
      • Text
      • Rectangle
      • Ellipse
      • Line
      • Polygon
      • Image
      • PDF Page
      • Group
      • Bar Chart
      • Line Chart
      • Donut Chart
      • Arc / Radial Progress
      • KPI
      • Radial Chart
      • Linear Scale
      • Scatter Chart
      • Dots
      • Progress Bar
      • Table
      • Status Badge
    • Visual channels
    • Condition operators
    • Rule kinds
    • Badge presets and scales
    • Built-in band sets
    • Brand roles
    • Design operations
    • Limits

Linear Scale

A horizontal scale with bands and markers that places each row's value against targets and limits. Its presets draw a gauge, a bullet chart or a reference range.

This page is generated from the product’s own definitions, so it is always current. To change it, change the product.

A horizontal scale with bands and markers that places each row's value against targets and limits. Its presets draw a gauge, a bullet chart or a reference range.

When to use it. Use when a value must be read against a target, a comparison or an acceptable range; pick a Progress Bar when it only fills toward a maximum.

Slots

SlotNameRequiredField typesAggregationsWhat it shows
slot.scale.labelRowsnostring, enum, date—An optional field whose values become the rows, one per distinct value. Unbound, the scale draws one row from all the data, as a gauge does.
slot.scale.valueValueyesnumber, percentagesum, avg, count, min, max, first, lastThe number placed on each row's scale, as a bar or a marker. Averages the row's records by default.
slot.scale.targetTargetnonumber, percentagesum, avg, count, min, max, first, lastAn optional number per row, drawn as a target marker on the row's scale. Averages the row's records by default.
slot.scale.comparisonComparisonnonumber, percentagesum, avg, count, min, max, first, lastAn optional number per row, drawn as a second marker such as last period or a group median. Averages the row's records by default.
slot.scale.lowLow limitnonumber, percentage—An optional number per row marking the bottom of the acceptable range, drawn as a labelled tick at one end of a shaded band.
slot.scale.highHigh limitnonumber, percentage—An optional number per row marking the top of the acceptable range, drawn as a labelled tick at one end of a shaded band.
slot.scale.minScale startnonumber, percentage—An optional number per row where that row's scale begins, for rows that measure different things. Otherwise the element's own scale start applies.
slot.scale.maxScale endnonumber, percentage—An optional number per row where that row's scale ends, for rows that measure different things. Otherwise the element's own scale end applies.
slot.scale.noteNotenostring, number, date, percentage, boolean, enum, image_url—Optional text per row printed beside or under its label, such as a unit or a short remark.
slot.scale.statusStatusnostring, number, date, percentage, boolean, enum, image_url—Optional text per row, such as Good or Watch, printed under the row's value on a reference range.
slot.scale.valueTextPrinted valuenostring, number, date, percentage, boolean, enum, image_url—Optional text per row printed in place of its number, such as "12 of 15".
slot.scale.lowTextPrinted low limitnostring, number, date, percentage, boolean, enum, image_url—Optional text per row printed at the low limit in place of its number, such as "$105.4K" or "46%", for rows that measure different things.
slot.scale.highTextPrinted high limitnostring, number, date, percentage, boolean, enum, image_url—Optional text per row printed at the high limit in place of its number.
slot.scale.comparisonTextPrinted comparisonnostring, number, date, percentage, boolean, enum, image_url—Optional text per row printed at the comparison tick in place of its number.

Channels

ChannelLabelValueRulesBrand tokensWhat it sets
chart.axisMaxAxis tonumberyesnoThe number the value axis ends at. Empty lets the chart choose from the data.
chart.axisMinAxis fromnumberyesnoThe number the value axis starts at. Empty lets the chart choose from the data.
chart.axisPrefixTick prefixstringyesnoText printed before each value-axis number, such as "$". Default none.
chart.axisStepTick everynumberyesnoGap between tick marks on the value axis, in the data's own units. Empty lets the chart choose.
chart.axisSuffixTick suffixstringyesnoText printed after each value-axis number, such as "%" or " kg". Default none.
chart.lastValuePrint each line’s last valueboolean: false, trueyesnoWhether a line chart prints each line's last value at its end. Default off.
chart.printedValuesPrinted valuesstring: none, value, percent, series, totalyesnoWhat each bar or point prints beside it: nothing, its value, its share of the total, its series name or its stack total. Default nothing.
chart.reference.1.labelLine labelstringyesnoThe words printed beside reference line 1. A rule outcome replaces its typed label.
chart.reference.1.valueLine valuenumberyesnoWhere reference line 1 crosses the value axis. A rule outcome replaces its typed or bound number; an empty outcome keeps it.
chart.reference.2.labelLine labelstringyesnoThe words printed beside reference line 2. A rule outcome replaces its typed label.
chart.reference.2.valueLine valuenumberyesnoWhere reference line 2 crosses the value axis. A rule outcome replaces its typed or bound number; an empty outcome keeps it.
chart.reference.3.labelLine labelstringyesnoThe words printed beside reference line 3. A rule outcome replaces its typed label.
chart.reference.3.valueLine valuenumberyesnoWhere reference line 3 crosses the value axis. A rule outcome replaces its typed or bound number; an empty outcome keeps it.
chart.showLegendShow legendboolean: false, trueyesnoWhether the chart shows its legend, the key that names each series. Default on.
chart.stackingSeveral seriesstring: grouped, stacked, percentyesnoHow a chart with several series draws them: side by side, stacked, or stacked to 100%. Default side by side.
progress.squareEndsSquare endsboolean: false, trueyesnoWhether the progress bar has square ends instead of rounded ones. Default off.
scale.bandColorAcceptable range colorcoloryesnoColour of the acceptable band between a row's low and high limits. Default pale green (#e0ece8).
scale.barColorBar colorcoloryesnoColour of the bar drawn from the start of the scale to each row's value. Default dark blue (#2b4a6b).
scale.comparisonColorComparison colorcoloryesnoColour of the comparison marker on each row, such as last period or a median. Default near-black (#1a1d21).
scale.fontSizeFont sizenumberyesnoSize in points of each row's label and printed value. Default 8.6.
scale.labelColorLabel colorcoloryesnoColour of each row's label. Default near-black (#1a1d21).
scale.limitColorLimit colorcoloryesnoColour of the ticks at a row's low and high limits. Default near-black (#1a1d21).
scale.markerColorMarker colorcoloryesnoColour of the pointer, stem or dot that marks each row's value. Default near-black (#1a1d21).
scale.noteColorNote colorcoloryesnoColour of each row's note and status words. Default grey (#5b626b).
scale.opacityOpacitynumberyesnoHow see-through each row is, from 0 (invisible) to 1 (solid). Default 1.
scale.targetColorTarget colorcoloryesnoColour of the target marker on each row. Default near-black (#1a1d21).
scale.trackColorTrack colorcoloryesnoColour of the scale's background track. Default light grey (#e9ebee).
scale.valueColorValue colorcoloryesnoColour of the value printed at the end of each row. Default near-black (#1a1d21).

See channels for every channel, rule kinds for what a rule can be, and operations for the operations that create and change this kind.