def copyFormPropertiesIntoChart(self, p):
        p.getParent().getSymbol().setBackgroundColor(
                    self.chart.colorSelector.getSelectedObject().backgroundColor)
        p.getParent().getSymbol().setBorderColor(
                    self.chart.colorSelector.getSelectedObject().borderColor)

        # selection flips border and background colors
        p.getParent().getSymbol().setHoverSelectionBorderColor(
                    self.chart.colorSelector.getSelectedObject().backgroundColor)
        p.getParent().getSymbol().setHoverSelectionBackgroundColor(
                    self.chart.colorSelector.getSelectedObject().borderColor)
        p.getParent().getSymbol().setSymbolType(
                    self.chart.shadingSelector.getSelectedObject())
        sliceSize = int(self.chart.sliceSizeSelector.getSelectedObject())
        p.getParent().getSymbol().setPieSliceSize(100./sliceSize)


    # Retrieves an existing ColorSpec object reference, given its colors
dataset/ETHPy150Open anandology/pyjamas/examples/gcharttestapp/GChartExample20.py/SliceEditor.copyFormPropertiesIntoChart/swapped operands of `/`