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

enable hover label text background colour to be configurable #6637

Open OllyMcBrideOB opened 1 year ago

OllyMcBrideOB commented 1 year ago

I have a plotly.js web app that uses plots with ~20 series, each with a unique 'dark mode compatible' colour. However when hovering over each of the plot lines, the series name in the label that pops up upon hover is hard to read, as the colours are configured for dark mode.

In the image below, I want to be able to change the background colour behind the PID_Angle_Ou... label to a dark-mode compatible colour (e.g. dark gray), or make it transparent.

image

From what I've found, I can only change the background colour of the (116, 243.3177) label, but I really need to be able to change the background of the series name.

gvwilson commented 2 months ago

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Alternatively, if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

OllyMcBrideOB commented 2 months ago

This is still an issue in the latest version: v2.33.0

gvwilson commented 2 months ago

Thanks @OllyMcBrideOB - I've reopened it and added it to our backlog, but it's unlikely we'll be able to address it any time soon. If you'd like to tackle it yourself we'd be very happy to review a PR. Cheers - @gvwilson