Bases: Widget
Draggable horizontal line overlay widget for bar charts.
Allows interactive selection of a single y-axis value. The line can be
dragged up/down to change the selected value.
- Parameters:
push_fn (Callable) – Update callback.
y (float) – Initial y-position in data coordinates.
color (str, optional) – CSS colour for the line. Default "#00e5ff".