Hi ,
I am using area chart where, on click of the chart area region , I should filter the data based on the backend response
Problem Statement :
Scenario1: When I do click on once in the chart area , data will get filter and click event works fine
Scenario 2: When I try to click on twice continuously , one click after another , first click will filter the data where the second click fails to filter the data
Scenario3: When I try to do a click event once and when I move the mouse , and do a second click works fine as expected( filter the data)
basically after each click when I move the mouse inside the chart area or outside the chart area , event triggers and filter data works as expected
Please provide me the solution when I do a click event and when I will not not move the mouse position, it should filter the data in the chart
attached jsfiddle Link: https://jsfiddle.net/ramya_sc/qj42w8ou/8/