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

108
Vistas
Update Chart using react

I really struggle to find a solution and to even find if what I want to do is possible...

I have a react application that basically displays a chart (thanks to react-chartjs-2).

Here is the basic content of my chart. I successfully managed to delete the desired column thanks to labels[]. However by doing the same with data[], I manage to modify it (saw it by printing it) but it doesn't display on the chart. Is there a way to do this ? Easily ?

I thank everyone that has at least read my problem, I hope I'll find a solution soon... Thanks !

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

OK I finally found that I could manage what I wanted. By adding the "redraw" tag in the parameters of my element and By setting a key=Date.now() in my initial state : so that every time I want to update my chart, I'll reset my key=Date.now() so that the state will understand that something has changed.

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