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

148
Views
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
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!