plotly / plotly/plotly.js

pie chart hover label hidden

Open
#6,916 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am re-opening a bug reported which was apparently fixed in 2019 #3654

I came across it again. Not sure if it's a regression.
according to this comment the patch "constrains the hover labels to fit inside the graph's bounding box"

But as you can see from my codepen and screenshot the hover labels are being clipped outside the bounding box

codepen:
https://codepen.io/destrada/pen/NWmxrVe

screenshot:

Screen Shot 2024-03-07 at 3 28 25 PM

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

Reproduce the clipping in the linked CodePen and compare the behavior with issue #3654 and its referenced comment. Trace the pie-chart hover-label bounding-box handling; done means the hover label remains fully visible inside the graph bounds in the supplied reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.