From 8daa7fbd331f4352e014330bcd165e4d76a79a81 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 26 Apr 2022 14:45:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=8E=BB=E6=8E=89=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E8=87=AA=E6=9C=89=E8=83=8C=E6=99=AF=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/chart.js | 6 ++---- frontend/src/views/chart/view/ChartEdit.vue | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index 8786a854ae..840b2addec 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -674,8 +674,7 @@ export const BASE_CHART_STRING = { legend: DEFAULT_LEGEND_STYLE, xAxis: DEFAULT_XAXIS_STYLE, yAxis: DEFAULT_YAXIS_STYLE, - yAxisExt: DEFAULT_YAXIS_EXT_STYLE, - background: DEFAULT_BACKGROUND_COLOR + yAxisExt: DEFAULT_YAXIS_EXT_STYLE }), customFilter: '[]' } @@ -698,8 +697,7 @@ export const BASE_CHART = { legend: DEFAULT_LEGEND_STYLE, xAxis: DEFAULT_XAXIS_STYLE, yAxis: DEFAULT_YAXIS_STYLE, - yAxisExt: DEFAULT_YAXIS_EXT_STYLE, - background: DEFAULT_BACKGROUND_COLOR + yAxisExt: DEFAULT_YAXIS_EXT_STYLE }, customFilter: [] } diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index c79bfbfa5b..40ebe18011 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1178,7 +1178,6 @@ import bus from '@/utils/bus' import DatasetChartDetail from '../../dataset/common/DatasetChartDetail' // shape attr,component style import { - DEFAULT_BACKGROUND_COLOR, DEFAULT_COLOR_CASE, DEFAULT_FUNCTION_CFG, DEFAULT_LABEL, @@ -1333,7 +1332,6 @@ export default { xAxis: DEFAULT_XAXIS_STYLE, yAxis: DEFAULT_YAXIS_STYLE, yAxisExt: DEFAULT_YAXIS_EXT_STYLE, - background: DEFAULT_BACKGROUND_COLOR, split: DEFAULT_SPLIT }, senior: {