rememberThresholdLine
Creates a HorizontalLine decoration for a reference threshold (e.g. battery low, pressure normal).
Parameters
y
The y-value to draw the line at
color
The color of the threshold line
label
Optional label text for the line