Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Plot value not restored correctly when interacting with multiple pointers

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript

調査の方向性

Issue にリンクされている Observable notebook から始め、Plot.pointerY と Plot.dot の tip が使用するインタラクションのエントリポイントを追跡します。ポインターの移動シーケンスを再現し、その後、dot から離れても value が "foo" に設定されたままで、pointerY mark がアクティブなままであることを確認します。

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

説明

bug

If the mouse is within the radius of multiple pointers and moves outside of one pointer's max radius, then the plot value will be set to null instead of according to the remaining active pointer.

Example (notebook):

viewof value = Plot.plot({
  marks: [
    Plot.frame(),
    Plot.rect(["foo"], Plot.pointerY({y: d => d, maxRadius: Infinity, fill: "orange"})),
    Plot.dot([{y: "foo"}], {y: "y", tip: true})
  ],
})

Steps:

  1. Move the mouse into the frame on either the left or right side so that value reads "foo".
  2. Move the mouse towards the dot until the tip appears; observe that value reads {y: "foo"}.
  3. Within the frame, move the mouse away from the dot until the tip disappears; observe that value reads null instead of "foo".

Demo:

主要言語
HTML
スター
5.4k
フォーク
246
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

observablehq/plot のほかの issue

observablehq/plot の issue をすべて見る

似ている issue

Data Visualization の issue をもっと見る

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

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