plotly / plotly/plotly.js

[FEATURE]: Fix Hover Text In Place On Click

Open
#7,578 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Description

I would like to be able to fix my hover text in place when I click on a set of traces. This would allow me to compare one part of a trace with another part of a trace.

Why should this feature be added?

I have tried fixing information on click with annotations, but the hovertext algorithm is really good with multiple traces to ensure that hovertext never overlaps.

Mocks/Designs
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing the existing hover-text and trace-selection behavior in the chart interaction code, then compare it with the supplied mock. Done should mean clicking selected traces keeps their hover text fixed in place so values can be compared across another part of the trace without overlap.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.