apexcharts / react-apexcharts

📊 React Component for ApexCharts
https://apexcharts.com
MIT License
1.3k stars 152 forks source link

React await render of chart #278

Closed kdeasymoneysniper closed 4 weeks ago

kdeasymoneysniper commented 3 years ago

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!

SteveAndCow commented 2 years ago

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.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.