Allow inverting series highlight behavior: change only color/alpha of the hovered series
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 463
- PR merge metrics
- No merged PRs in 30d
Description
When focusing a series by hovering, the focus.alpha setting allows you to de-emphasize all other series by adding transparency to them. I find that effect a bit too visually jarring and would like to achieve the opposite, where only the series that is currently focused gets emphasized somehow, while all others keep their style. Ideally the emphasis wouldn't be alpha-based (since alpha is already 1), but would allow me to change the color or width of the series.
Contributor guide
No contributing guide indexed for this repository
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
Start by reading the hover focus behavior and the existing focus.alpha setting described in the issue. Trace how the focused and non-focused series styles are applied, then determine the smallest API change that supports focused-series color or width changes without altering other series. Done means the behavior is configurable and covered by an example or test demonstrating unchanged styles for non-focused series.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100