Ng2-charts: Performance Issues

Created on 13 May 2016  路  5Comments  路  Source: valor-software/ng2-charts

Hi,

I have rewritten my app from Angular 1.5 + angular-chartjs to Angular 2 + ng2-charts and I'm experiencing a massive performance difference. I'm using sockets to update my chart 30 times per second. Maybe is related to the way rerendering is done in ng2-charts.

I was just wondering if you have done any performance tests or if you have any ideas for optimizing?

Thank you in advanced!

I'm looking forward to using ng2-charts for displaying brainwaves in real time.

Best,

Alex

help wanted

All 5 comments

  1. updated to ng2 and chart.js 2
  2. performance issue is here: https://github.com/valor-software/ng2-charts/blob/development/components/charts/charts.ts#L149

if you know how to refresh charts js without dropping it
I am listening :)

Thank you @valorkin.

I will look into it. Feel free to assign this ticket to me.

Thanks for your help in advance :)

@valorkin any progress on this?
It looks like the fix for this would address exactly the issue I've described in #291

Closing for inactivity - if issue persists, feel free to comment with a working example which demonstrates the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrpotato3 picture mrpotato3  路  5Comments

dslima90 picture dslima90  路  3Comments

Maistho picture Maistho  路  3Comments

RKornu picture RKornu  路  3Comments

egervari picture egervari  路  4Comments