openpyxl.chart.layout module

class openpyxl.chart.layout.Layout(manualLayout=None, extLst=None)[source]

Bases: Serialisable

extLst

Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>

manualLayout

Values must be of type <class ‘openpyxl.chart.layout.ManualLayout’>

tagname = 'layout'
class openpyxl.chart.layout.ManualLayout(layoutTarget=None, xMode=None, yMode=None, wMode='factor', hMode='factor', x=None, y=None, w=None, h=None, extLst=None)[source]

Bases: Serialisable

extLst

Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>

h

Values must be of type <class ‘float’>

hMode

Value must be one of {‘edge’, ‘factor’}

height

Values must be of type <class ‘float’>

layoutTarget

Value must be one of {‘outer’, ‘inner’}

tagname = 'manualLayout'
w

Values must be of type <class ‘float’>

wMode

Value must be one of {‘edge’, ‘factor’}

width

Values must be of type <class ‘float’>

x

Values must be of type <class ‘float’>

xMode

Value must be one of {‘edge’, ‘factor’}

y

Values must be of type <class ‘float’>

yMode

Value must be one of {‘edge’, ‘factor’}