Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

119
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda