openpyxl.chart.legend.
图例
(
legendPos='r'
,
legendEntry=()
,
layout=None
,
overlay=None
,
spPr=None
,
txPr=None
,
extLst=None
)
[source]
¶
extLst
¶
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
graphicalProperties
¶
Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
layout
¶
Values must be of type <class ‘openpyxl.chart.layout.Layout’>
legendEntry
¶
A sequence (list or tuple) that may only contain objects of the declared type
legendPos
¶
Value must be one of {‘l’, ‘r’, ‘t’, ‘b’, ‘tr’}
overlay
¶
Values must be of type <class ‘bool’>
位置
¶
Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
spPr
¶
Values must be of type <class ‘openpyxl.chart.shapes.GraphicalProperties’>
tagname
= 'legend'
¶
textProperties
¶
Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
txPr
¶
Values must be of type <class ‘openpyxl.chart.text.RichText’>
openpyxl.chart.legend.
LegendEntry
(
idx=0
,
delete=False
,
txPr=None
,
extLst=None
)
[source]
¶
delete
¶
Values must be of type <class ‘bool’>
extLst
¶
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
idx
¶
Values must be of type <class ‘int’>
tagname
= 'legendEntry'
¶
txPr
¶
Values must be of type <class ‘openpyxl.chart.text.RichText’>