openpyxl.chart.bar 图表模块¶
- class openpyxl.chart.bar_chart.BarChart(gapWidth=150, overlap=None, serLines=None, extLst=None, **kw)[源代码]¶
基类:
openpyxl.chart.bar_chart._BarChartBase
- barDir¶
Value must be one of {'bar', 'col'}
- dLbls¶
值的类型必须为<class'openpyxl.chart.label.datalabellist'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- gapWidth¶
值的类型必须小于class“float”>
- grouping¶
Value must be one of {'clustered', 'standard', 'stacked', 'percentStacked'}
- overlap¶
值的类型必须小于class“float”>
- ser¶
只能包含声明类型的对象的序列(列表或元组)
- serLines¶
值的类型必须小于class“openpyxl.chart.axis.chartlines”>
- tagname = 'barChart'¶
- varyColors¶
值的类型必须小于class'bool'>
- x_axis¶
值的类型必须小于class“openpyxl.chart.axis.textfaxis”>
- y_axis¶
值的类型必须小于class“openpyxl.chart.axis.numericaxis”>
- class openpyxl.chart.bar_chart.BarChart3D(gapWidth=150, gapDepth=150, shape=None, serLines=None, extLst=None, **kw)[源代码]¶
基类:
openpyxl.chart.bar_chart._BarChartBase
,openpyxl.chart._3d._3DBase
- backWall¶
值的类型必须为“openpyxl.chart.u 3d.surface”>
- barDir¶
Value must be one of {'bar', 'col'}
- dLbls¶
值的类型必须为<class'openpyxl.chart.label.datalabellist'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- floor¶
值的类型必须为“openpyxl.chart.u 3d.surface”>
- gapDepth¶
值的类型必须小于class“float”>
- gapWidth¶
值的类型必须小于class“float”>
- grouping¶
Value must be one of {'clustered', 'standard', 'stacked', 'percentStacked'}
- ser¶
只能包含声明类型的对象的序列(列表或元组)
- serLines¶
值的类型必须小于class“openpyxl.chart.axis.chartlines”>
- shape¶
Value must be one of {'coneToMax', 'cylinder', 'pyramid', 'cone', 'box', 'pyramidToMax'}
- sideWall¶
值的类型必须为“openpyxl.chart.u 3d.surface”>
- tagname = 'bar3DChart'¶
- varyColors¶
值的类型必须小于class'bool'>
- view3D¶
值的类型必须为“openpyxl.chart.u 3d.view3d”>
- x_axis¶
值的类型必须小于class“openpyxl.chart.axis.textfaxis”>
- y_axis¶
值的类型必须小于class“openpyxl.chart.axis.numericaxis”>
- z_axis¶
值的类型必须小于class“openpyxl.chart.axis.seriesaxis”>