-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support hovertemplate on hoveron: fills #6121
base: master
Are you sure you want to change the base?
Conversation
Scatter trace currently doesn't hovertemplate on hoveron: fills. Change this to allow hovertemplate on fills when mode=='lines'
@fredricj Are you interested in completing this PR? |
We are using this feature on our site so getting it in would be great. I did for some reason miss the additional comments you made, but there is also some other issue I discovered when creating tests which I didn't have time to resolve. Right now I don't remember what so I will need to revisit the changes again and see what it was. |
@fredricj FYI - I added this PR to our |
I think I have completed all the tasks for this PR now. Looking back at how we use it, I wonder if it makes sense to implement hovertemplate for mode=lines. Unless I'm mistaken you can only have one line/polygon per trace, and the text generated from hovertemplate would then be the same wherever you hover in the areas filled and you could then use text/hovertext instead. It still might make sense to include it to get access to the trace data, but I'm not sure on this. |
@marthacryan please have a look at this one when you have time |
Scatter trace currently doesn't hovertemplate on hoveron: fills. Change this to allow hovertemplate on fills when mode=='lines'