openpyxl.chart.pivot模块

class openpyxl.chart.pivot.PivotFormat(idx=0, spPr=None, txPr=None, marker=None, dLbl=None, extLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

DataLabel

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

TextBody

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

dLbl

值的类型必须小于class“openpyxl.chart.label.datalabel”>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

graphicalProperties

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

idx

值的类型必须小于class“int”>

marker

值的类型必须小于class“openpyxl.chart.marker.marker”>

spPr

值的类型必须小于class“openpyxl.chart.shapes.graphicalproperties”>

tagname = 'pivotFmt'
txPr

值的类型必须小于class“openpyxl.chart.text.richtext”>

class openpyxl.chart.pivot.PivotSource(name=None, fmtId=None, extLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

fmtId

值的类型必须小于class“int”>

name

值的类型必须小于class'str'>

tagname = 'pivotSource'