code: def position(self):
          
          legendPos = self._element.legendPos
          if legendPos is None:
              return XL_LEGEND_POSITION.RIGHT
          return legendPos.val
docs: Read/write :ref:`XlLegendPosition` enumeration value specifying the
          general region of the chart in which to place the legend.