plotly / plotly/plotly.js

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

オープン
#6,759 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature P3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Issue ではファイルやテストが指定されていません。まず、軸のズームおよびスクロールの更新と併せて、bar と scatter/bubble のレンダリングパスを追跡します。クリップされたポイントに、関連する hover テキストを伴う明確で動的なインジケーターが表示され、null のポイントは引き続き区別できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。