Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular application reacting slow once multiple chart loaded into page. #11758

Open
kishan110 opened this issue May 1, 2024 · 1 comment
Open

Comments

@kishan110
Copy link

Expected behavior

Parallel loading of charts with devtools open, should not have impact on performance.

Current behavior

we have a dashboard page in Angular 14 application which has multiple types of charts.
if user visits dashboard page and switches to different pages, the API calls takes a long time resolve in devtools.
This only occurs whenever we visit dashboard page(which have multiple charts).

While searching this issue came across below solution to disable async stack trace from developer tool settings and in that case it is working properly.
chrome-slower-when-console-open-at-page-load

is there any configuration for chart to avoid this issue.

Reproducible sample

https://stackblitz.com/edit/angular-kgntsk?file=src%2Fchart-test.ts,src%2Fmain.ts

Optional extra steps/info to reproduce

It's hard to provide exact steps or environment with stack blitz.
Our case pages are inside material tab.

Possible solution

No response

Context

No response

chart.js version

4.4.2

Browser name and version

chrome v-124.0.6367.91

Link to your project

No response

@LeeLenaleee
Copy link
Collaborator

This does not sound like a chart.js issue if your api calls are loading slow. Also since it does not seem to reproduce inside of a stackblitz it is verry hard to almost impossible to debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants