

def __init__(self):
    GChart.__init__(self)
    self.SELECTION_CURVE = 0
    self.p1 = Point()
    self.p2 = Point()
    self.selecting = False
    self.moving = False
    self.ctrlPressed = False
    self.altPressed = False
    self.zoomIndex = 0
    self.zoomController = ZoomController(a)
    self.initialPlotRegion = Region()
    self.initialSelectionRegion = Region()
    self.setChartTitle('Drag to pan; Press Ctrl while drag-selecting a rectangle to zoom')
    self.setChartSize(500, 150)
    a = Hyperlink('huh?')
    a.setPixelSize(10, 500)
    self.getYAxis().setAxisLabel(a)
    self.setClipToPlotArea(True)
    self.addCurve()
    for i in range(N_POINTS):
        self.getCurve().addPoint(i, (math.sin((((2 * math.pi) * i) / N_POINTS)) * math.sin(((10 * ((2 * math.pi) * i)) / N_POINTS))))
    self.getCurve().getSymbol().setSymbolType(SymbolType.LINE)
    self.addCurve()
    self.getCurve().addPoint((- Double.MAX_VALUE), (- Double.MAX_VALUE))
    self.getCurve().setVisible(False)
    self.getCurve().getSymbol().setDistanceMetric(0, 0)
    self.getCurve().getSymbol().setHoverWidget(self.zoomController)
    self.getCurve().getSymbol().setHoverLocation(AnnotationLocation.CENTER)
    self.getCurve().getSymbol().setBrushSize(0, 0)
    self.SELECTION_CURVE = (self.getNCurves() - 1)
    self.getXAxis().setAxisMin((0.25 * N_POINTS))
    self.getXAxis().setAxisMax((0.75 * N_POINTS))
    self.getYAxis().setTickLabelThickness(50)
    self.getYAxis().setAxisMin((- 0.5))
    self.getYAxis().setAxisMax(0.5)
    '\n        self.addClickListener(self)\n        '
    self.addMouseListener(self)

dataset/ETHPy150Open anandology/pyjamas/examples/gcharttestapp/GChartExample24.py GChartExample24.__init__/VarMisuse@75/90 `self`->`a`