openpyxl.chart.scatteru图表模块

class openpyxl.chart.scatter_chart.ScatterChart(scatterStyle=None, varyColors=None, ser=(), dLbls=None, extLst=None, **kw)[源代码]

基类:openpyxl.chart._chart.ChartBase

dLbls

值的类型必须为<class'openpyxl.chart.label.datalabellist'>

dataLabels

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

extLst

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

scatterStyle

Value must be one of {'lineMarker', 'smoothMarker', 'line', 'marker', 'smooth'}

ser

只能包含声明类型的对象的序列(列表或元组)

tagname = 'scatterChart'
varyColors

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

x_axis

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

y_axis

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