我想使用openpyxl更改图表的背景颜色,as in this example。 在谷歌小组讨论,我发现下面的代码片段: from openpyxl.chart.shapes import GraphicalProperties
props = GraphicalProperties(solidFill="999999")
chart.graphical_properties = prop
我使用网页上的∩或“交叉点”符号(∩)忽略。我注意到,火狐,铬不尊重font-weight财产吧。更改font-family没有帮助。我正在使用Linux Mint 17.1。 这里是一个JSFiddle对其进行测试。 我的一位朋友也使用Firefox(相同结果)和Chrome(其中∩和&cup忽略了font-weight)在Mac上测试了它。