I am getting below error when I click the slice of a pie chart. Need help please.  Here's how I am creating the chart and adding listeners in the angular `ngAfterViewInit` method. 
I am getting below error when I click the slice of a pie chart. Need help please.
Here's how I am creating the chart and adding listeners in the angular
ngAfterViewInitmethod.