From 7cccac6be6b132cf1585fd0103b9cd8462a0f097 Mon Sep 17 00:00:00 2001 From: junjun Date: Wed, 22 Jun 2022 11:41:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=81=A2=E5=A4=8D=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/util.js | 11 +-- .../components/shape-attr/SizeSelector.vue | 99 ++++++++++--------- 2 files changed, 51 insertions(+), 59 deletions(-) diff --git a/frontend/src/views/chart/chart/util.js b/frontend/src/views/chart/chart/util.js index 1afb455441..de4ba5ead8 100644 --- a/frontend/src/views/chart/chart/util.js +++ b/frontend/src/views/chart/chart/util.js @@ -1549,16 +1549,7 @@ export const TYPE_CONFIGS = [ 'alpha' ], 'size-selector': [ - 'barDefault', - 'barWidth', - 'barGap', - 'lineWidth', - 'lineType', - 'lineSymbol', - 'lineSymbolSize', - 'lineArea', - 'bubble_scatterSymbol', - 'bubble_scatterSymbolSize' + 'mix' ], 'label-selector': [ 'show', diff --git a/frontend/src/views/chart/components/shape-attr/SizeSelector.vue b/frontend/src/views/chart/components/shape-attr/SizeSelector.vue index 5b99b73eb9..a15b57511f 100644 --- a/frontend/src/views/chart/components/shape-attr/SizeSelector.vue +++ b/frontend/src/views/chart/components/shape-attr/SizeSelector.vue @@ -171,55 +171,56 @@ - - - {{ $t('chart.chart_bar') }} - - {{ $t('chart.adapt') }} - - - - - - - - {{ $t('chart.chart_line') }} - - - - - - {{ $t('chart.line_type_solid') }} - {{ $t('chart.line_type_dashed') }} - - - - - - - - - {{ $t('chart.show') }} - - {{ $t('chart.chart_scatter') }} - - - - - - - - + + + {{ $t('chart.chart_bar') }} + + {{ $t('chart.adapt') }} + + + + + + + + {{ $t('chart.chart_line') }} + + + + + + {{ $t('chart.line_type_solid') }} + {{ $t('chart.line_type_dashed') }} + + + + + + + + + {{ $t('chart.line_smooth') }} + + {{ $t('chart.chart_scatter') }} + + + + + + + + +