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

React await render of chart

Open kdeasymoneysniper opened this issue 3 years ago • 1 comments

Hi, how do I await a render of the chart? I am currently doing 'await ApexCharts.exec("chart_id", "dataURI").then(() => bla bla) but sometimes the chart comes up as unrendered, so i wanted to wait for the chart to finish rendering before calling the dataURI exec method. How do I do that in React? thanks all!

kdeasymoneysniper avatar Mar 21 '21 03:03 kdeasymoneysniper

I am having the same problem, is there a fix/intended solution for this? I've seen that this is possible in apexcharts.js but so far nothing for react.

SteveAndCow avatar Mar 10 '22 16:03 SteveAndCow