OptionalbadgeOptionalcloseDraw a close (cancel) segment at the end of the pill group; hit-tests as ${id}::close.
OptionalcursorCursor hint when hovered (e.g. 'ns-resize' for draggable lines).
OptionaldashedTwo-state shorthand for lineStyle: true draws 'dashed'. A retained
form rather than a deprecated one (COMPATIBILITY.md lists why); reach for
lineStyle when a line needs 'dotted'.
OptionalextentFraction of the plot width the line spans, measured from the right (price) axis. 1 = full width (default); 0.3 = only the rightmost 30%, like a partial-width order line. Visible scales also carry a price tag.
Stable id returned by hit-test (for click/drag routing).
OptionallabelPrice-axis tag text. Defaults to the formatted price. Hidden scales omit the tag.
OptionalleftInfo text segment (order type, price, P&L ...): the classic left tag text.
OptionallineDash style, the three-way form of dashed. Set, it wins over the boolean;
unset, the boolean still decides, so a line built before this existed draws
exactly as it did.
OptionallineLine thickness in media px. Default 1.
OptionalqtyQuantity segment rendered as a neutral box after the badge.
Solid colored badge segment at the start of the pill group (e.g. 'BUY', 'TP', 'SL').