OptionalbadgeOptionalcloseDraw a 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).
OptionaldashedLegacy two-state dash switch, equivalent to lineStyle: 'dashed'.
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. The right-axis tag is always drawn.
Stable id returned by hit-test (for click/drag routing).
OptionallabelRight-axis tag text. Defaults to the formatted price.
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').