Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hovertemplate use html tag is not working #6982

Open
ck80074 opened this issue Apr 24, 2024 · 0 comments
Open

Hovertemplate use html tag is not working #6982

ck80074 opened this issue Apr 24, 2024 · 0 comments

Comments

@ck80074
Copy link

ck80074 commented Apr 24, 2024

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.

codepen

Expected Behavior
bold

Actual Behavior
not bold

Environment
System: Windows 10
Browser: Edge, Chrome
Version: plotly-2.31.0.min.js
frameworks: vue 2

@ck80074 ck80074 changed the title hovertemplate use html tag is not working Hovertemplate use html tag is not working Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant