Line¶
A line adds a simple visual connection or separation to a card. Use it as a divider, status indicator, scale mark, connector, or decorative element.
Basic configuration¶
Configuration options¶
| Field | Required | Description |
|---|---|---|
orientation | Yes | horizontal, vertical, or fromto |
xpos, ypos | Horizontal or vertical | Position of the line center |
length | Horizontal or vertical | Total line length |
start, end | Point to point | Coordinates of both ends |
entity_index | No | Entity used by colors and actions |
styles | No | Stroke, width, opacity, and line ends |
color_stops | No | Value- or state-based colors |
Choose the direction¶
Line ends¶
Use stroke-linecap to choose the line ends: