apexcharts / apexcharts.js

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

Area Chart keeps redrawing fill on appendData call #4481

Closed jherman closed 1 month ago

jherman commented 1 month ago

Description

When using a chart with type 'area', the fill area redraws on every append of data.

Reproduction Link

https://codepen.io/jh_codepen/pen/KKLMNVX

brianlagunas commented 1 month ago

Which browser are you using? Can you provide a video of what you are seeing, because it appears to be working properly for me.

jherman commented 1 month ago

Current Browser: Microsoft Edge Version 125.0.2535.51 (Official build) (64-bit)

Video:

https://github.com/apexcharts/apexcharts.js/assets/276792/d9689a77-0f15-4fad-a65f-25833c7a92e5

jherman commented 1 month ago

I also just tested now on Chrome Version 124.0.6367.208 (Official Build) (64-bit). I do get that redraw issue as well there. Not sure why you aren't seeing it.

jherman commented 1 month ago

BTW, when I do this on an older version of ApexCharts, I don't see this strange redraw.

Sample:

https://codesandbox.io/p/sandbox/apx-line-dashed-forked-xhc49c

rosco54 commented 1 month ago

This is a duplicate of issue #4463

jherman commented 1 month ago

Closing since it's a dupe.

jherman commented 1 month ago

Closing since it's a dupe.