diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index b3102a190f..dcf3b75094 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -57,7 +57,9 @@ export const DEFAULT_SIZE = { liquidWaveLength: 128, liquidWaveCount: 3, liquidShape: 'circle', - tablePageMode: 'page' + tablePageMode: 'page', + symbolOpacity: 0.7, + symbolStrokeWidth: 2 } export const DEFAULT_LABEL = { show: false, diff --git a/frontend/src/views/chart/components/shape-attr/SizeSelectorAntV.vue b/frontend/src/views/chart/components/shape-attr/SizeSelectorAntV.vue index 57141bf676..3fa88f6dbb 100644 --- a/frontend/src/views/chart/components/shape-attr/SizeSelectorAntV.vue +++ b/frontend/src/views/chart/components/shape-attr/SizeSelectorAntV.vue @@ -411,8 +411,8 @@ /> - - + + diff --git a/frontend/src/views/chart/view/ChartStyle.vue b/frontend/src/views/chart/view/ChartStyle.vue index 85c323bea6..7f6fb161a8 100644 --- a/frontend/src/views/chart/view/ChartStyle.vue +++ b/frontend/src/views/chart/view/ChartStyle.vue @@ -29,17 +29,8 @@ {{ $t('chart.shape_attr') }} - - - + import PluginCom from '@/views/system/plugin/PluginCom' import ColorSelector from '@/views/chart/components/shape-attr/ColorSelector' -import ColorSelectorExt from '@/views/chart/components/shape-attr/ColorSelectorExt' import SizeSelector from '@/views/chart/components/shape-attr/SizeSelector' import SizeSelectorAntV from '@/views/chart/components/shape-attr/SizeSelectorAntV' import LabelSelector from '@/views/chart/components/shape-attr/LabelSelector' @@ -330,8 +320,7 @@ export default { SizeSelectorAntV, SizeSelector, ColorSelector, - PluginCom, - ColorSelectorExt + PluginCom }, props: { chart: { @@ -352,11 +341,17 @@ export default { }, dimensionData: { type: Array, - required: true + required: false, + default: function() { + return [] + } }, quotaData: { type: Array, - required: true + required: false, + default: function() { + return [] + } }, propertyInnerAll: { type: Object,