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

Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptive name is desired (eg. “underline” for “u”)

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

Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptive name is desired (eg. “underline” for “u”)

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’}