plotly / plotly/plotly.js

Plotly reset axes button not working as expected.

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

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

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

説明

Link to reproduce the issue https://codepen.io/shreeramk/pen/NWOvKva

What I am doing in the codepen example:

  1. Plotting a graph with date range from 26th to 28th.
  2. Then updating the xaxis range from 24th to 28th.
  3. Then zoom in the graph
  4. Now click on reset axes icon in plotly toolbar.

Expected: Expect the graph to reset to the xaxis range of 24th to 28th

Actual: But it is actually resetting to the old xaxis range of 26th to 28th.

Can someone please take a look into it and suggest how this can be handled to get the expected outcome.

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

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

はじめの一歩

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

調査の方向性

リンクされた CodePen から始め、次の手順を再現します: xaxis の範囲を更新し、ズームしてから、reset axes ツールバーアイコンをクリックします。reset axes がどのように範囲を選択するかを追跡し、完了した変更によって、元の 26日–28日の範囲ではなく、更新後の 24日–28日の範囲が復元されることを確認します。

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

評価

技術スタック
d3, javascript
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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