From 73f7c758ef9e0cc51696b2603c794f2333c2f586 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Sun, 17 Jan 2021 20:17:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BE=E8=A1=A8=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/slides.ts | 1 + src/views/Editor/Canvas/index.vue | 1 + .../ElementStylePanel/ChartStylePanel.vue | 34 ++++++++++++++++++- .../element/ChartElement/BaseChartElement.vue | 7 +++- .../ChartElement/ScreenChartElement.vue | 7 +++- .../components/element/ChartElement/index.vue | 3 ++ 6 files changed, 50 insertions(+), 3 deletions(-) diff --git a/src/types/slides.ts b/src/types/slides.ts index 884f9dd..bbaedf2 100644 --- a/src/types/slides.ts +++ b/src/types/slides.ts @@ -121,6 +121,7 @@ export interface PPTChartElement { groupId?: string; width: number; height: number; + fill?: string; chartType: ChartType; data: ChartData; options?: ILineChartOptions & IBarChartOptions & IPieChartOptions; diff --git a/src/views/Editor/Canvas/index.vue b/src/views/Editor/Canvas/index.vue index 2edff4e..77522d2 100644 --- a/src/views/Editor/Canvas/index.vue +++ b/src/views/Editor/Canvas/index.vue @@ -203,6 +203,7 @@ export default defineComponent({ }, { text: '网格参考线', + handler: toggleGridLines, }, { text: '清空本页', diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue index e007a3a..e83b22d 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue @@ -3,6 +3,21 @@ + +
+
背景填充:
+ + + + +
+ +