Console error, "Excepted Number NaN" with LegendOnly attribute
オープン
まだ誰も着手していません。
bug
P3
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
Hi,
I have a console error when I create a plotly graph.
Steps to reproduce :
• I create a new graph with the following properties in the data : showlegend: true, visible: "legendonly"
• I add the showline: true attribute in the layout.
The graph is displayed correctly but I have a console error : Error: <path> attribute d: Expected number, "MNaN,NaNVNaN".
The error only seems to appear when these 3 attributes are combined.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされた CodePen の再現を実行し、showlegend、visible: "legendonly"、showline の組み合わせを切り分けます。その組み合わせのレンダリングパスを追跡します。グラフがコンソールエラーや MNaN,NaNVNaN パスなしで引き続き正しく表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100