apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.22k stars 1.29k forks source link

Chart rendering become very slow when there are some null values #3249

Open dimonovych opened 2 years ago

dimonovych commented 2 years ago

Description

Steps to Reproduce

  1. Use line chart
  2. use datetime x-axis
  3. use dataset with big ammount of points (100+) at least one has to be null

Expected Behavior

quick rendered chart

Actual Behavior

rendering becomes very slow, so you can see the plotter. if there are seweral series of different types - chart is renering endless.

Screenshots

image

Reproduction Link

https://codepen.io/dimonovych/pen/NWYxpGG

breadam commented 2 years ago

hello, are there any improvements on this?

schneis commented 1 year ago

I'm having a similar issue .... I'm temporarily overriding null values to zero to try and get things moving, but having null represented correctly would be very useful.

Searching past issues I see that this has been reported before (https://github.com/apexcharts/apexcharts.js/issues/1778), but that issue was automatically closed without any resolution.

james-bowers commented 1 year ago

Finding the same here too.

Gh05t-PL commented 1 year ago

Hello, any update on this one? Thanks.

dmitriybo commented 1 year ago

@junedchhipa Hello, any update on this one?

trandaison commented 1 year ago

I am getting same issue too. Still no improvement so far...

B-o-s-s-e commented 1 year ago

Please label this with high-priority. Love this lib but this makes it unusable :(

trandaison commented 1 year ago

I have to switch to https://github.com/leeoniya/uPlot library to get through this issue :(

davenportw commented 1 year ago

+1 for this issue. Was already having to do a loop through all my data and checking for null values and replacing thing with 0 solved my performance issues.

trandaison commented 1 year ago

@davenportw 0 values is different from null values. Unfortunately, in some cases, it can't be replaced.

gudvin24 commented 11 months ago

Confirm, this is a big issue

lyngbach commented 11 months ago

Love the plugin but can confirm as well this ia a big issue and possible deal breaker.

Any ETA for when this will, hopefully, get addressed?

hydrohiester commented 7 months ago

+1