Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

451
Views
how to customize tooltip in Chart Js?

I want to customize the label of the tooltip on chart js. I just want to show as bold the value of portfolio (+2,5%).

I found this example:
https://jsfiddle.net/nosensus/hhcyhjf9/

When i apply it, my tooltip is always on the left bottom, not on the chart. How can fix it? I am using Chart.js 2.9.4 version and developing with Angular.

tooltip of the chart should be like this

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Put the text you would like to be bold between these tags: <strong>...</strong>

Like below :

tooltip: {
  trigger: 'item',
  formatter: '<strong>{a}</strong> <br/> {b}:{c}'
},

example

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!