Rangeslider won't reset after zooming out
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
https://codepen.io/Lexachoc/pen/XWGGLJG (the plotly-latest.min.js is using 1.58.5)
The Autoscale or Reset axes buttons in the menu bar won't autoscale/reset the rangeslider correctly after using zoom out button.
I can confirm that with plotly-2.29.1.min.js, the issue exists (but Plotly.d3.csv is removed from version 2 so I can't use that version for the codepen). I found this issue when I use plotly-2.28.0.min.js and now with plotly-2.29.1.min.js:
(no codepen for this, sorry, this is server-side data)
My layout:
{
xaxis: {
rangeslider: {},
automargin: true,
tickfont: {
size: 14
},
showspikes: true,
spikemode: 'across', // or 'across' or 'marker'
spikethickness: 1
},
yaxis: {
fixedrange: true,
tickfont: {
size: 14
},
automargin: true,
},
}
The example in here
https://plotly.com/javascript/range-slider/
https://codepen.io/plotly/pen/WwXEoV
it doesn't have this issue (it uses plotly-1.8.0.min.js)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされた CodePen を plotly-2.29.1 で再現し、その動作を range-slider の例と比較します。x-axis rangeslider に対する Zoom-out、Autoscale、Reset axes の処理を確認します。ズームアウト後に両方のボタンで rangeslider が正しく復元され、fixed-range y-axis を含む報告された layout でも同様に動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100