I have a canvas powered by chartJs to show a chart.And I defined a onmousemove function like below to manipulate variable
myVariable = false; ctx: any; @ViewChild