Closed
Description
Customizing hover text for Candlestick objects does not work correctly:
labels = ["<br>".join([f"{i}", f"Time: {candle.Time}", f"Open: {candle.Open}", f"High: {candle.High}", f"Low: {candle.Low}", f"Close: {candle.Close}"]) for i, candle in enumerate(data.itertuples())]
candle = go.Candlestick(x=data.Time,
open=data.Open,
high=data.High,
low=data.Low,
close=data.Close,
hoverinfo="text",
text=labels)
The customized tooltips appear at the right of the chart, not at the cursor position. I tried to change hoverinfo parameters to no avail. Please provide samples in the relevant section.
Metadata
Metadata
Assignees
Labels
No labels