lovelace-plotly-graph-card
lovelace-plotly-graph-card copied to clipboard
Display min and max values on top of the trace as text, at the correct x positions
Describe the solution you'd like If not already asked, can we have the min and max value text on top of the curve?" it seems that plotly do not have this option right out the box, but they suggest to the users to construct this feature with the add_annotation feature (https://plotly.com/python/text-and-annotations/) and then, a possible result could be equivalent to:

How would it be defined in yaml?
type: custom:plotly-graph
entities:
- entity: sensor.monthly_internet_energy
show_extremas: true
wdyt about show_extrema or show_extremes or show_min_max_value ?
All of them are okay. As a lazy boy I did the concatenation of
show:
extremas: true
from the apex-charts card into show_extremas
But now I just realized that's wrong extremas with the S, it's a latin word, so: 1 extremum, several extrema, so apex-charts writes it wrong :)
exactly!