

def onMouseWheel(self, sender, x, y):
    event = DOM.eventGetCurrentEvent()
    DOM.eventPreventDefault(event)
    if x.getCurve(self.SELECTION_CURVE).isVisible():
        if event.isNorth():
            self.zoomIn()
        elif event.isSouth():
            self.zoomOut()

dataset/ETHPy150Open anandology/pyjamas/examples/gcharttestapp/GChartExample24.py GChartExample24.onMouseWheel/VarMisuse@32/42 `self`->`x`