react-apexcharts
react-apexcharts copied to clipboard
DataPointSelection event does not take updated state value
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