plotly / plotly/plotly.js

add a way to indicate when a point is off the scale

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

Nobody has claimed this yet.

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

Description

New feature request: it would be great if there were a way to hint when a point is off the scale.

  • With bars, it's already possible - the top of the bar has no border. However, this is quite subtle, and perhaps it could be made more obvious that it's truncated, e.g. by making the top few mm of the left and right edges end with dashes and an arrow-tip.
  • With bubbles/scatter points (that are not connected by lines), there is no way to see that a bubble is too high (rather than being omitted because the point is null).
  • This is particularly problematic when the user has manually set the y-axis range, and has cut off a point. (in auto-range mode, points are never missed out).

This might be indicated by showing a "^" at the top of the paper pointing to where the point would be. (such a symbol should also get the hover-text of the associated point).

These indicators should be dynamic - as the axis is zoomed and scrolled. Maybe we need a pref (default on) to turn this off?

Thanks for your consideration - I hope the idea is useful.

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

No files or tests are named in the issue. Start by tracing the bar and scatter/bubble rendering paths alongside axis zoom and scroll updates; done means clipped points have clear, dynamic indicators with associated hover text, while null points remain distinguishable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.