i used this code to adding horizontal line and was ok.
df = px.data.stocks(indexed=True)
fig = px.line(df)
i wanna using this chart to dash, but when i add hline the output becomes like dis picure
just for when i adding hline
please help me
In the link below is an example that works in Dash:
Aparently (I do not analyze in detail), it works using fig.add_hrect
but solved this problem, it was just for my version of my dash that was 1.18.1
i upgrate it to 1.19 and was solved.
it was a bug for dash that it fixed in new version