(self, orientation='layer')
Sets how charts should be joined.

        Args:
            orientation: string that contains how they should be connected
                together, That is the chart orientation,  the options are:
                "layer", "horizontal" and "vertical". The default behavior
                is "layer".
Sets how charts should be joined.
Sets how charts should be joined .
def set_orientation(self, orientation='layer'):
        """Sets how charts should be joined.

        Args:
            orientation: string that contains how they should be connected
                together, That is the chart orientation,  the options are:
                "layer", "horizontal" and "vertical". The default behavior
                is "layer".
        """
        orientation = orientation.lower()
        if orientation == 'layer' or orientation.starstwith('layer'):
            self._orientation = 'layer'
        elif orientation == 'horizontal' or orientation.startswith('hor'):
            self._orientation = 'horizontal'
        elif orientation == 'vertical' or orientation.startswith('ver'):
            self._orientation = 'vertical'
        self.commit()
def set_orientation ( self , orientation = 'layer' ) : orientation = orientation . lower ( ) if orientation == 'layer' or orientation . starstwith ( 'layer' ) : self . _orientation = 'layer' elif orientation == 'horizontal' or orientation . startswith ( 'hor' ) : self . _orientation = 'horizontal' elif orientation == 'vertical' or orientation . startswith ( 'ver' ) : self . _orientation = 'vertical' self . commit ( )