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

DataPointSelection event does not take updated state value

Open eddysapata opened this issue 3 years ago • 0 comments

Hi there, First of all thanks a lot for this beautiful chart library. Here is my link to sandbox.. Code sandbox link

My problem is I have set options in state in which I have not included event, for event I am adding after my data has been fetched from API (for now I have added timeout for 3 sec). I am getting empty state onclick on pie chart labels(check console), kindly help. Why my options are not getting updated.

@junedchhipa

eddysapata avatar Nov 18 '21 14:11 eddysapata