plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
16.9k stars 1.85k forks source link

ToggleSpikelines used in combination with hovercompare not working on plotly v2.24.3 #6687

Open tuankhang39 opened 1 year ago

tuankhang39 commented 1 year ago

I have tried many ways but when using the combination of the two, when hovering, the spike line only shows for the first price, the other hover points can't be displayed. image I tried ways and it doesn't work, it seems to work in versions below 2.0.0 without any config in my code. Hope to help. Thank

alexcjohnson commented 1 year ago

Thanks @tuankhang39 - this does look like a bug to me, @archmoj do you agree or is this behavior somehow expected?

alexcjohnson commented 1 year ago

Did you solve this @tuankhang39?

tuankhang39 commented 1 year ago

@alexcjohnson Sorry for the editing because my picture got some trouble. I have updated a new photo on the issue. Can you help me? Thanks

tuankhang39 commented 1 year ago

Here's the video I've replayed the error

https://github.com/plotly/plotly.js/assets/68111903/45df5262-3e52-4497-9534-82510000782b