enable hover label text background colour to be configurable
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
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.
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file, test, or entry point. Start by locating the hover-label rendering and the existing option that changes the coordinate label background; determine where the series-name label is styled. Done means that background can be configured for the series name, including a dark or transparent value, with coverage for the requested behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100