From e2b0e751e3074f4c0a8073837e67ef3c34a7eba7 Mon Sep 17 00:00:00 2001 From: qianming Date: Fri, 4 Nov 2022 16:56:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E4=BE=8B=E5=90=8D=E7=A7=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tools/configure/widget-bar-compare.js | 6 +++--- .../designer/tools/configure/widget-bar-stack.js | 6 +++--- .../tools/configure/widget-barlinechart.js | 6 +++--- .../designer/tools/configure/widget-funnel.js | 6 +++--- .../designer/tools/configure/widget-heatmap.js | 8 ++++---- .../tools/configure/widget-line-compare.js | 6 +++--- .../designer/tools/configure/widget-line-stack.js | 6 +++--- .../tools/configure/widget-more-bar-line.js | 6 +++--- .../tools/configure/widget-pie-nightingale.js | 13 +++++++------ .../designer/tools/configure/widget-piechart.js | 15 ++++++++------- .../designer/widget/bar/widgetBarCompareChart.vue | 6 +++--- .../designer/widget/bar/widgetBarStackChart.vue | 6 +++--- .../designer/widget/bar/widgetBarlinechart.vue | 6 +++--- .../widget/bar/widgetMoreBarLineChart.vue | 6 +++--- .../designer/widget/heatmap/widgetHeatmap.vue | 8 ++++---- .../widget/line/widgetLineCompareChart.vue | 6 +++--- .../designer/widget/line/widgetLineStackChart.vue | 6 +++--- .../widget/pie/widgetPieNightingaleRose.vue | 4 ++-- .../designer/widget/pie/widgetPiechart.vue | 4 ++-- .../designer/widget/widgetFunnel.vue | 6 +++--- 20 files changed, 69 insertions(+), 67 deletions(-) diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-compare.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-compare.js index 1907da7b..f1e5c4a5 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-compare.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-compare.js @@ -138,7 +138,7 @@ export const widgetBarCompare = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -146,7 +146,7 @@ export const widgetBarCompare = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -154,7 +154,7 @@ export const widgetBarCompare = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-stack.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-stack.js index f9f0c3bd..e13a3bab 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-stack.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-bar-stack.js @@ -196,7 +196,7 @@ export const widgetBarStack = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -204,7 +204,7 @@ export const widgetBarStack = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -212,7 +212,7 @@ export const widgetBarStack = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-barlinechart.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-barlinechart.js index 36740201..698f6bda 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-barlinechart.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-barlinechart.js @@ -237,7 +237,7 @@ export const widgetBarlinechart = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -245,7 +245,7 @@ export const widgetBarlinechart = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -253,7 +253,7 @@ export const widgetBarlinechart = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-funnel.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-funnel.js index f1c9ab6c..7ca50232 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-funnel.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-funnel.js @@ -198,7 +198,7 @@ export const widgetFunnel = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -206,7 +206,7 @@ export const widgetFunnel = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 16, @@ -214,7 +214,7 @@ export const widgetFunnel = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 15, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-heatmap.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-heatmap.js index e7d65daf..8d9e1d03 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-heatmap.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-heatmap.js @@ -422,7 +422,7 @@ export const widgetHeatmap = { { type: 'vue-color', label: '数值颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -430,7 +430,7 @@ export const widgetHeatmap = { { type: 'el-input-number', label: '图例大小', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -438,7 +438,7 @@ export const widgetHeatmap = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, @@ -488,7 +488,7 @@ export const widgetHeatmap = { { type: 'customColor', label: '', - name: 'lengedColorList', + name: 'legendColorList', required: false, value: [{color: '#abd9e9'}, {color: '#74add1'}, {color: '#4575b4'}, {color: '#313695'}], }, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-compare.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-compare.js index 6767f9da..af314598 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-compare.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-compare.js @@ -170,7 +170,7 @@ export const widgetLineCompare = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -178,7 +178,7 @@ export const widgetLineCompare = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -186,7 +186,7 @@ export const widgetLineCompare = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-stack.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-stack.js index b0d5e10f..ffbde18f 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-stack.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-line-stack.js @@ -216,7 +216,7 @@ export const widgetLineStack = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -224,7 +224,7 @@ export const widgetLineStack = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -232,7 +232,7 @@ export const widgetLineStack = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js index 5f533812..633c4fa4 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-more-bar-line.js @@ -229,7 +229,7 @@ export const widgetMoreBarLine = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -237,7 +237,7 @@ export const widgetMoreBarLine = { { type: 'el-input-number', label: '字体字号', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 12, @@ -245,7 +245,7 @@ export const widgetMoreBarLine = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 12, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-pie-nightingale.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-pie-nightingale.js index 25035afc..f67c50e7 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-pie-nightingale.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-pie-nightingale.js @@ -239,7 +239,7 @@ export const widgetPieNightingale = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -247,7 +247,7 @@ export const widgetPieNightingale = { { type: 'el-input-number', label: '字体大小', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 16, @@ -255,7 +255,7 @@ export const widgetPieNightingale = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 15, @@ -267,10 +267,11 @@ export const widgetPieNightingale = { required: false, placeholder: '', selectOptions: [ + {code: 'center', name: '居中'}, {code: 'left', name: '左对齐'}, {code: 'right', name: '右对齐'}, ], - value: '' + value: 'center' }, { type: 'el-select', @@ -282,7 +283,7 @@ export const widgetPieNightingale = { {code: 'top', name: '顶部'}, {code: 'bottom', name: '底部'}, ], - value: '' + value: 'top' }, { type: 'el-select', @@ -294,7 +295,7 @@ export const widgetPieNightingale = { {code: 'vertical', name: '竖排'}, {code: 'horizontal', name: '横排'}, ], - value: '' + value: 'horizontal' }, ], }, diff --git a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-piechart.js b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-piechart.js index 5c728546..838a2eb8 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-piechart.js +++ b/report-ui/src/views/bigscreenDesigner/designer/tools/configure/widget-piechart.js @@ -1,6 +1,6 @@ /* * @Descripttion: 饼图 - * @version: + * @version: * @Author: qianlishi * @Date: 2021-08-29 07:28:20 * @LastEditors: qianlishi @@ -239,7 +239,7 @@ export const widgetPiechart = { { type: 'vue-color', label: '字体颜色', - name: 'lengedColor', + name: 'legendColor', required: false, placeholder: '', value: '#fff', @@ -247,7 +247,7 @@ export const widgetPiechart = { { type: 'el-input-text', label: '字体大小', - name: 'lengedFontSize', + name: 'legendFontSize', required: false, placeholder: '', value: 16, @@ -255,7 +255,7 @@ export const widgetPiechart = { { type: 'el-input-number', label: '图例宽度', - name: 'lengedWidth', + name: 'legendWidth', required: false, placeholder: '', value: 15, @@ -267,10 +267,11 @@ export const widgetPiechart = { required: false, placeholder: '', selectOptions: [ + {code: 'center', name: '居中'}, {code: 'left', name: '左对齐'}, {code: 'right', name: '右对齐'}, ], - value: '' + value: 'center' }, { type: 'el-select', @@ -282,7 +283,7 @@ export const widgetPiechart = { {code: 'top', name: '顶部'}, {code: 'bottom', name: '底部'}, ], - value: '' + value: 'top' }, { type: 'el-select', @@ -294,7 +295,7 @@ export const widgetPiechart = { {code: 'vertical', name: '竖排'}, {code: 'horizontal', name: '横排'}, ], - value: '' + value: 'horizontal' }, ], }, diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarCompareChart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarCompareChart.vue index d0ce849c..087dbd4f 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarCompareChart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarCompareChart.vue @@ -488,10 +488,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例名称设置 setOptionsLegendName(name){ diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarStackChart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarStackChart.vue index c275db89..9accd656 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarStackChart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarStackChart.vue @@ -239,10 +239,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例名称设置 setOptionsLegendName(name){ diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarlinechart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarlinechart.vue index 79891373..ee22f819 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarlinechart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarlinechart.vue @@ -351,10 +351,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例名称设置 setOptionsLegendName(name){ diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue index 18f74edc..a0b229ae 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetMoreBarLineChart.vue @@ -366,10 +366,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例名称设置 setOptionsLegendName(name){ diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/heatmap/widgetHeatmap.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/heatmap/widgetHeatmap.vue index 47dd9268..3b47c762 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/heatmap/widgetHeatmap.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/heatmap/widgetHeatmap.vue @@ -291,17 +291,17 @@ export default { visualMap.min = optionsSetup.dataMin; visualMap.max = optionsSetup.dataMax; visualMap.textStyle = { - fontSize : optionsSetup.lengedFontSize, - color : optionsSetup.lengedColor + fontSize : optionsSetup.legendFontSize, + color : optionsSetup.legendColor }; - visualMap.inRange.color = optionsSetup.lengedColorList.map((x) => { + visualMap.inRange.color = optionsSetup.legendColorList.map((x) => { return x.color; }); visualMap.left = optionsSetup.lateralPosition; visualMap.top = optionsSetup.longitudinalPosition; visualMap.bottom = optionsSetup.longitudinalPosition; visualMap.orient = optionsSetup.layoutFront; - visualMap.itemWidth = optionsSetup.lengedWidth; + visualMap.itemWidth = optionsSetup.legendWidth; }, setOptionsData() { const optionsData = this.optionsData; // 数据类型 静态 or 动态 diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineCompareChart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineCompareChart.vue index 729ee3b9..6ec9caf6 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineCompareChart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineCompareChart.vue @@ -538,10 +538,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例名称设置 setOptionsLegendName(name){ diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineStackChart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineStackChart.vue index 6bfd591f..c7144ec9 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineStackChart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/line/widgetLineStackChart.vue @@ -254,10 +254,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例名称设置 setOptionsLegendName(name){ diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPieNightingaleRose.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPieNightingaleRose.vue index fccb7274..93bebf82 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPieNightingaleRose.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPieNightingaleRose.vue @@ -175,10 +175,10 @@ export default { optionsCollapse.longitudinalPosition == "bottom" ? 0 : "auto"; legend.orient = optionsCollapse.layoutFront; legend.textStyle = { - color: optionsCollapse.lengedColor, + color: optionsCollapse.legendColor, fontSize: optionsCollapse.fontSize }; - legend.itemWidth = optionsCollapse.lengedWidth; + legend.itemWidth = optionsCollapse.legendWidth; }, // 图例颜色修改 setOptionsColor() { diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPiechart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPiechart.vue index 1124a94c..0524633e 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPiechart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/pie/widgetPiechart.vue @@ -174,10 +174,10 @@ export default { optionsSetup.longitudinalPosition == "bottom" ? 0 : "auto"; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, + color: optionsSetup.legendColor, fontSize: optionsSetup.fontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例颜色修改 setOptionsColor() { diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/widgetFunnel.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/widgetFunnel.vue index 9ef5f5f3..22eab6b7 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/widgetFunnel.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/widgetFunnel.vue @@ -190,10 +190,10 @@ export default { optionsSetup.longitudinalPosition; legend.orient = optionsSetup.layoutFront; legend.textStyle = { - color: optionsSetup.lengedColor, - fontSize: optionsSetup.lengedFontSize + color: optionsSetup.legendColor, + fontSize: optionsSetup.legendFontSize }; - legend.itemWidth = optionsSetup.lengedWidth; + legend.itemWidth = optionsSetup.legendWidth; }, // 图例颜色修改 setOptionsColor() {