def onMouseMove(self, sender, x, y):
        event = DOM.eventGetCurrentEvent()
        DOM.eventPreventDefault(event)
        if self.selecting  or  self.moving:
            self.p2.x = self.getXAxis().getMouseCoordinate()
            self.p2.y = self.getYAxis().getMouseCoordinate()
            self.updateCursor()
            if self.moving:
                self.p1.x = self.p2.x = self.getXAxis().getMouseCoordinate()
                self.p1.y = self.p2.y = self.getYAxis().getMouseCoordinate()
dataset/ETHPy150Open anandology/pyjamas/examples/gcharttestapp/GChartExample24.py/GChartExample24.onMouseMove/original