- Home
- Forum
- Angular - EJ 2
- Chart load delay
Chart load delay
Hello,
I'm trying out the angular EJS 2 chart components.
I'm trying to add multiple charts using a loop inside an angular material tab. The code that I'm using is mentioned below.
<div *ngFor="let data of [1,2,3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; index as i" [attr.data-index]="i">
<div [ngClass]="'col-md-3'">
<mat-card>
<mat-card-content>
<div align='center'>
<ejs-chart align='center' id={{i}} [primaryXAxis]='primaryXAxis'
[tooltip]='tooltip' [height]="height" [zoomSettings]='zoomSettings'>
<e-series-collection>
<e-series [dataSource]='data1' type='Line' xName='x' yName='y' width=2 > </e-series>
</e-series-collection>
</ejs-chart>
</div>
</mat-card-content>
</mat-card>
</div>
</div>
If I run this code, the page hangs.
Is there any memory leak, or am I doing something wrong here.
How do I wait for a response from the server and then load multiple plots in the same page.
SIGN IN To post a reply.
5 Replies
BP
Baby Palanidurai
Syncfusion Team
March 12, 2018 11:55 AM UTC
Hi Manu,
We can able to reproduce the reported issue. So, we logged bug report on "Issue in chart loading delay while using more number of charts". We will provide the fix in upcoming path release(March 22, 2018).
Thanks,
Baby
.
MA
Manu
March 23, 2018 09:48 PM UTC
Hello,
Is the patch released.
BP
Baby Palanidurai
Syncfusion Team
March 26, 2018 12:11 PM UTC
Hi Manu,
We have created branch incident under your account, for further updates on this query, kindly follow up with the incident.
Thanks,
Baby.
CC
Cesar Crisologo
February 13, 2023 08:04 PM UTC
Hi,
I have the same issue. Any solution?
SB
Swetha Babu
Syncfusion Team
February 15, 2023 09:42 AM UTC
Hi Cesar,
We have rendered the chart in mat to replicate the reported scenario with the latest version(v20.4.50). But we are unable to replicate the same. Please find the below tested sample link for your reference.
Sample link: https://stackblitz.com/edit/angular-p4vwyu?file=src%2Fapp.component.html
If the reported scenario still persists, please modify the above sample to replicate the reported scenario. It will be helpful for us to analyze further and assist you better.
Regards,
Swetha
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
-
MA Manu
- Mar 8, 2018 06:36 PM UTC
- Feb 15, 2023 09:42 AM UTC