This page is generated from the product’s own definitions, so it is always current. To change it, change the product.
A straight line drawn on the page, styled by its colour and thickness. It holds no data.
When to use it. Use for dividers and connectors; pick a bar or line chart's reference line when the line should sit at a data value.
This kind has no data slots: it shows what it is given in the editor.
| Channel | Label | Value | Rules | Brand tokens | What it sets |
|---|---|---|---|---|---|
shape.fill | Fill | color | yes | no | Colour inside the shape. A fixed fill may also be a gradient; colours set by rules are always solid. Default black. |
shape.opacity | Opacity | number | yes | no | How see-through the whole shape is, from 0 (invisible) to 1 (solid). Default 1. |
shape.stroke | Stroke | color | yes | no | Colour of the shape's outline, or of the line itself. Default black. |
shape.strokeWidth | Stroke width | number | yes | no | Thickness of the shape's outline, or of the line itself, in points. 0 draws no outline. Default 0. |
See channels for every channel, rule kinds for what a rule can be, and operations for the operations that create and change this kind.