Hovertemplate use html tag is not working
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
I'm encountering an issue with the hovertemplate feature in Plotly.js. When I define a hovertemplate and use the HTML tag<b>to bold text within it, the hover information doesn't display in bold font as expected. Instead, it appears in regular font.
Steps to Reproduce
Define a trace and add hovertemplate
Use the HTML tag<b>within the hovertemplate to bold text.
Observe the hover information to see if it displays in the correct format.
Expected Behavior
Actual Behavior
Environment
System: Windows 10
Browser: Edge, Chrome
Version: plotly-2.31.0.min.js
frameworks: vue 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされたCodePenから始め、Plotly.js 2.31.0を使って問題を再現し、その後plotly.jsのhovertemplateのレンダリングパスを追跡します。HTMLのタグで囲まれたテキストがホバー情報内で太字として表示され、他のhovertemplateの書式を壊さなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100