openpyxl - Ability to remove border from charts?

后端 未结 2 1863
慢半拍i
慢半拍i 2021-01-23 20:26

Using openpyxl, the charts inserted into my worksheet have a border on them. Is there any way to set the style of the chart (pie/bar) to either via the styles.Style/styles.bord

2条回答
  •  广开言路
    2021-01-23 21:02

    This isn't easy but should be possible. You will need to work through the XML source of a suitably formatted sample chart and see which particular variables need setting or changing. openpyxl implements the complete chart API but this unfortunately very complicated.

提交回复
热议问题