[FEATURE]: Provide a way to enable aligning the 0-point of overlaid axes
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
I have a plotly chart with lines and columns with both negative and positive values. The 0 on both y axes is at a different spot. It would be nice if there were an option in layout.yaxis where one could align the 0s without having to calculate the domain.
Here is a codepen illustrating the issue: https://codepen.io/mtadams007/pen/ByNgyjJ?editors=0010
The solution proposed in https://github.com/plotly/plotly.js/issues/1845#issuecomment-312896241 does not work as in that example both axes start with 0 and have no negative numbers.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた CodePen から始めて、負の値と正の値を持つ重ね合わせた y 軸の異なるゼロ位置を再現します。issue #1845 の以前の議論と layout.yaxis の動作を確認してください。明示的なオプションによって手動でドメインを計算せずに両方の軸がゼロで揃い、実証されたケースがカバーされれば作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100