Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

461
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda