mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 导出PPTX图表缺少背景填充
This commit is contained in:
parent
1b31abb230
commit
678e7ea48b
@ -399,6 +399,8 @@ export default () => {
|
|||||||
chartColors: el.chartType === 'pie' ? chartColors : chartColors.slice(0, el.data.series.length),
|
chartColors: el.chartType === 'pie' ? chartColors : chartColors.slice(0, el.data.series.length),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (el.fill) options.fill = formatColor(el.fill).color
|
||||||
|
|
||||||
let type = pptx.ChartType.bar
|
let type = pptx.ChartType.bar
|
||||||
if (el.chartType === 'bar') {
|
if (el.chartType === 'bar') {
|
||||||
type = pptx.ChartType.bar
|
type = pptx.ChartType.bar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user