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

115
Views
On Angular 12 webapp Google Charts component make webapp very slow also after component destruction

I perfectly integrated Google charts in my Angular 12 webapp but the component that shows google chart make the webapp very slow on rendering graphical animation and movements. If I hide the Google chart component the webapp come back to be very fast (also the drag and drop in a different component, after google chart component has been destroyed, come back to be very fast and smooth). I tried the ngOnDestroy() {// some google destruction} method but nothing worked. What can I do?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

At the end I solved with a try: js script integration instead of angular module installation and I successfully solved the problem calling the "clearChart()" on ngOnDestroy() for any single chart created in the component. After that I warned the ng2-angular-charts module developer and the module has been updated (problem solved).

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