Please ignore my last message.. I was able to achieve what I wanted, by accessing e.dataPointIndex.
This worked. Is there a way to pass the value of i from for loop to onClick function along with e value?
Thank you so much. It’s working now.
Also, I have one more doubt. The data that we are fetching in event handling function is not getting reflected in UI though it’s getting updated in console. Is this related to Canvas or some issue with Angular? I have updated the code
Can you please provide the link to the documentation that you are mentioning here?
I can still see same set of errors as before.