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

Taking too much time to render large amout of data in charts! #1824

Open
karnwalak opened this issue Jan 8, 2025 · 1 comment
Open

Taking too much time to render large amout of data in charts! #1824

karnwalak opened this issue Jan 8, 2025 · 1 comment
Labels

Comments

@karnwalak
Copy link

On the analytics page of the admin dashboard, AmCharts is being used to display multiple charts. When filtering for a short time range, the charts load and render data quickly. However, when selecting a longer time range (e.g., "all-time data"), the charts take too much time to render. The page becomes unresponsive until all the data is loaded and rendered in the charts.
This affects the usability and performance of the analytics page significantly when working with large datasets.

Expected Behavior

  1. The page should remain responsive even when rendering large datasets.
  2. The charts should load incrementally or handle large datasets efficiently.

Observed Behavior

  1. The page freezes until all data is loaded and rendered into the charts.
  2. This leads to poor user experience, especially for "all-time data."
@zeroin
Copy link
Collaborator

zeroin commented Jan 8, 2025

Well, the more data you have, the more cpu processing power is required. There is nothing we can do here. You could however could think about aggregating data on your side before passing it to the charts if a selected period is long.

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

No branches or pull requests

3 participants