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

222
Views
Multiple Highcharts JavaScript Update very slow. Any options to increase speed?

I have multiple Highcharts on the same page, and I update them all at the same time using a combobox which selects the individual to be shown at the charts.

All the Highcharts are quite simple, with 3-4 line or column series each, and a limited number of observations per chart (around 10-12).

For updating the charts I use a JS function, and I've tried two options:

First option:

chart1.update({
    series: [{data: mybankjson["data"]["spr_t_tva"]},
              {data: mybankjson["data"]["enf_t_tva"]},
              {data: mybankjson["data"]["hogares_t_tva"]}],
    title: {text: 'Tasas de variación interanual del crédito. SPR<br>('+ecode+'-'+anombre+')'}
});

Second option:

chart1.series[0].setData(mybankjson["data"]["spr_t_tva"])
chart1.series[1].setData(mybankjson["data"]["enf_t_tva"])
chart1.series[2].setData(mybankjson["data"]["hogares_t_tva"])
chart1.setTitle({text:'Tasas de variación interanual del crédito. SPR<br>('+ecode+'-'+anombre+')'})

There are around 40 charts to be updated using first or second option. Both are really slow (around .5 seconds EACH chart), so using the combobox to quickly view charts for different individuals is mainly impossible.

Any ideas? The size of the .json file (mybankjson) might be an issue?

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!