HorizontalLine¶
- class HorizontalLine(price: NUM, color: COLOR, width: int, style: LINE_STYLE, text: str, axis_label_visible: bool, func: callable = None)¶
The
HorizontalLineobject represents aPriceLinein Lightweight Charts.Its instance should be accessed from the
horizontal_linemethod.- label(text: str)¶
Updates the label of the horizontal line.
- delete()¶
Irreversibly deletes the horizontal line.