react-apexcharts icon indicating copy to clipboard operation
react-apexcharts copied to clipboard

Update only path nodes when update data series

Open luq10 opened this issue 4 years ago • 2 comments

As I see react-apexcharts rerenders whole svg element when I update data series.

Demo: codesandbox

When I open this demo and elements tab in web console I see that generated div with svg element is blinking when I click Update button - so this means that whole svg element is recreated.

In this case I need only rerenders path elements with representing series data. This demo code is not optimal when I want to updating my data very fast. So my question is - this is how react-apexcharts / apexcharts works or mayby I'm doing something wrong?

luq10 avatar Mar 04 '21 12:03 luq10

Hey, did you find any solution ?

hanupratap avatar Mar 25 '21 14:03 hanupratap

@hanupratap Unfortunately no, but I ask the same question in base apexcharts here - https://github.com/apexcharts/apexcharts.js/issues/2316 you can track this issue.

luq10 avatar Mar 29 '21 09:03 luq10