`anchor: 'free'` breaks fixed range with multiple axes
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
This issue is already described in detail in the plotly forum. Here is just a short summary:
On a scatter plot with multiple (three) axes/traces each axis should have a range with a dynamic (autorange) lower bound and a fixed upper bound like this:
var layout = {
// ...
yaxis: {
range: [null,200],
autorange: 'min'
},
// ...
For 3 traces/axes, this is not working as expected! A complete SSCCE is available on codepen. The example works fine for two traces, but once a third trace is enabled (uncomment line 10), the fixed range stops working and both ends are scaled dynamically.
This issue seems only to exist if anchor is set to free for the axes. However, when using multiple axes, the anchor has to be free for useful automatic axes-positioning.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている CodePen SSCCE から始め、2 軸の場合と 3 軸の場合を比較します。anchor: 'free' と range: [null, 200] を autorange: 'min' とともに使用する軸に注目してください。3 軸すべてで固定された上限が有効なまま、下限が動的なままであれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100