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

142
Vistas
Update highcharts options via setoptions after the charts have been rendered

We are making use of Highcharts for our data visualization application which has about 20 or charts. The charts are showing cost information and we are adding the ability for users to change currency. Now because we can change currency we would like to change our prefix to on yaxis. More specifically we change our label formatter option using

HighCharts.setOptions({
yAxis: {
      labels: {
        formatter: function () {
          return `${currency} ${formatCostNumberStr(this.value)}`;
        }
      }
    }
})

currency is passed into the function which gets called everytime currency changes.

The issue is that these new options will not take place until the charts rerender - which is fine as long as the data is different but if the data remains the same (i.e. values remain same) the charts yaxis will not change. Is there a way to rerender all the charts at the same time?

about 4 years ago · Juan Pablo Isaza
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