openpyxl.chart.layout模块¶
- class openpyxl.chart.layout.Layout(manualLayout=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- manualLayout¶
值的类型必须小于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)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- h¶
值的类型必须小于class“float”>
- hMode¶
值必须是{‘factor’,‘edge’}之一
- height¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- layoutTarget¶
值必须是“内部”、“外部”之一
- tagname = 'manualLayout'¶
- w¶
值的类型必须小于class“float”>
- wMode¶
值必须是{‘factor’,‘edge’}之一
- width¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- x¶
值的类型必须小于class“float”>
- xMode¶
值必须是{‘factor’,‘edge’}之一
- y¶
值的类型必须小于class“float”>
- yMode¶
值必须是{‘factor’,‘edge’}之一