0

So I have around 100 Mat-Cards on screen , each one containing one NG2 doughnut chart. This initially gave me performance issue as it took more than a minute to load. So I used cdk-virtual-scroll to load charts on the run. The performance is tough better but the scroll is not smooth. Also Till the time it load next sets of data, the screen shows an empty space. I want to display a loader in it but not sure How can I get the property that tell me the charts are still getting loaded and not completed for that scroll index.

welcoming any better approach suggestions!!

sharad jain
  • 113
  • 1
  • 10

0 Answers0