plotly.js
plotly.js copied to clipboard
[FEAT] "x unified" hover mode working across subplots
This would make it possible to display the information of several subplots in the same hoverbox. Probably this would need an attribute since this behaviour is not desired in all cases.
it would be most helpful, particularly in visualizing across COVID time series for multiple graphs; linked across R and python functionality.
I would also find this feature particularly useful.
+1, would love to see this feature.
+1, this would be great
Thanks for the enthusiasm, folks! It's a good feature and we'd love to have it in the library but it's not on anyone's roadmap at the moment. That said, we as maintainers would be happy to help someone from the community to implement it, or to accept sponsorship to get it on to our short-term roadmap :)
A few notes re how this might work at the schema/behaviour level... This would need to be one or likely a few new accepted values for hovermode
: we currently accept closest
, x
and x unified
. In both the latter cases, hovering over a trace linked to a given pair of x and y axes causes hover labels to appear for each trace linked the same x/y axis pair. We would need a variant on both x
and x unified
, perhaps something like all x
and all x unified
, which would cause hover labels to appear for every trace linked to the same x axis, regardless of y axis. We would also need to think about "matched" axes, and this could be yet another flavour of hovermode
(all x
and matched x
?). We'd also need to think about what this would visually look like in unified
mode: would there be one unified label per x/y pair or one big unified label near the cursor? We'd also need to take into consideration spikelines, especially with matched axes.
The solution for this issue is at the link below. https://stackoverflow.com/questions/63358465/scope-in-python-subplot-similar-to-matlabs-stackedplot
The solution for this issue is at the link below
That question isn't about plotly ... ?
it would be most helpful, particularly in visualizing across COVID time series for multiple graphs; linked across R and python functionality.
exactly, like this one https://covid19-projections.com/path-to-herd-immunity/
+1, this would be very helpful
+1
Using the Generic Crossfilter Recipe may be a suitable alternative for some people. I've used it with some success to highlight points across subplots.
+1
+1 Probable duplicate: https://github.com/plotly/plotly.js/issues/2114
Yes, this is a duplicate of #2114 and in the same state: it's very unlikely that anyone on the Plotly team can work on this without a financial sponsor, although we'd be happy to work with someone from the community who wants to implement this themselves and submit a pull request.
+1
+1
+1
+1
+1
+1. Would love this feature too.
+1 Still not in the road map ?
+1
+1. This would really make a difference using Plotly from my point of view.
+1 Related bug here: add_hline() breaks when axis is shared
+1 :)
+1
+1
+1
+1
+1