openpyxl中有一个openpyxl.chart.chartspace.DataTable
类,但是没有示例。当我尝试使用它时,我得到:
AttributeError: 'BarChart' object has no attribute 'DataTable'
或者我无法在图表空间中使用以下代码获取数据表:
from openpyxl.chart.chartspace import DataTable
chart1 = BarChart()
chart1.DataTable = DataTable(showHorzBorder=None , showVertBorder=None,showOutline=None, showKeys=None, spPr=None,txPr=None, extLst=None)
目前没有回答
相关问题 更多 >
编程相关推荐