def getEdgeRight(self, pp, symbol, x, onY2):
        xMin = pp.getXMin()
        xMax = pp.getXMax()
        xMid = symbol.getBaseline()
        if (Double.NaN==(xMid)):
            xMid = (xMin + xMax)/2.

        xMinPx = pp.xToPixel(xMin)
        xMaxPx = pp.xToPixel(xMax)
        xMidPx = pp.xToPixel(xMid)
        xPx = pp.xToPixel(x)
        prevXPx = Double.NaN
        nextXPx = Double.NaN
        width = symbol.getWidth(pp)

        symWidth = self.getAdjustedWidth(width, xPx,
                                        prevXPx, nextXPx,
                                        xMinPx, xMaxPx, xMidPx)
        if (Double.NaN==(symWidth)):
            return Double.NaN


        xLeft = self.getUpperLeftX(width, xPx,
                                    prevXPx, nextXPx,
                                    xMinPx, xMaxPx, xMidPx,
                                    pp.getXMousePlotArea())
        if (Double.NaN==(xLeft)):
            return Double.NaN


        result = xLeft / symWidth

        return result




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