

def getCenterY(self, pp, symbol, iPoint, onY2):
    c = symbol.getParent()
    p = c.getPoint(iPoint)
    prevY = Double.NaN
    y = p.getY()
    nextY = Double.NaN
    if (iPoint > 0):
        prevY = c.getPoint((iPoint - 1)).getY()
    if ((iPoint + 1) < c.getNPoints()):
        nextY = c.getPoint((iPoint + 1)).getY()
    result = self.getCenterY_2(iPoint, symbol, prevY, y, nextY, onY2)
    return result

dataset/ETHPy150Open anandology/pyjamas/library/gwt/chart/SymbolType.py SymbolType.getCenterY/VarMisuse@123/153 `pp`->`iPoint`