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(pp, symbol, prevY, y, nextY, onY2)

        return result


    # pixel coordinate of left edge of symbol if rendered at given x
    # Note: this can actually be the right edge if the symbol
    # width is negative, as can occur with baseline-based bars
dataset/ETHPy150Open anandology/pyjamas/library/gwt/chart/SymbolType.py/SymbolType.getCenterY/operator `-` -> `*`