diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 7c7c9a9240..2dcc9bf82b 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -660,253 +660,24 @@ - - -
- - {{ $t('chart.style_priority') }} - - - {{ $t('chart.chart') }} - {{ $t('chart.dashboard') }} - - - - - {{ $t('chart.shape_attr') }} - - - - - - - - - - - - - - - - - - - - - - - - - {{ $t('chart.module_style') }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+
@@ -1229,16 +1000,6 @@ import { DEFAULT_YAXIS_EXT_STYLE, DEFAULT_YAXIS_STYLE } from '../chart/chart' -import ColorSelector from '../components/shape-attr/ColorSelector' -import SizeSelector from '../components/shape-attr/SizeSelector' -import LabelSelector from '../components/shape-attr/LabelSelector' -import TitleSelector from '../components/component-style/TitleSelector' -import LegendSelector from '../components/component-style/LegendSelector' -import TooltipSelector from '../components/shape-attr/TooltipSelector' -import XAxisSelector from '../components/component-style/XAxisSelector' -import YAxisSelector from '../components/component-style/YAxisSelector' -import BackgroundColorSelector from '../components/component-style/BackgroundColorSelector' -import SplitSelector from '../components/component-style/SplitSelector' import QuotaFilterEditor from '../components/filter/QuotaFilterEditor' import DimensionFilterEditor from '../components/filter/DimensionFilterEditor' import TableNormal from '../components/table/TableNormal' @@ -1248,18 +1009,8 @@ import TableSelector from './TableSelector' import FieldEdit from '../../dataset/data/FieldEdit' import { areaMapping } from '@/api/map/map' import QuotaExtItem from '@/views/chart/components/drag-item/QuotaExtItem' -import YAxisExtSelector from '@/views/chart/components/component-style/YAxisExtSelector' import ChartComponentG2 from '@/views/chart/components/ChartComponentG2' import ChartType from '@/views/chart/view/ChartType' -import TitleSelectorAntV from '@/views/chart/components/component-style/TitleSelectorAntV' -import LabelSelectorAntV from '@/views/chart/components/shape-attr/LabelSelectorAntV' -import TooltipSelectorAntV from '@/views/chart/components/shape-attr/TooltipSelectorAntV' -import LegendSelectorAntV from '@/views/chart/components/component-style/LegendSelectorAntV' -import XAxisSelectorAntV from '@/views/chart/components/component-style/XAxisSelectorAntV' -import YAxisSelectorAntV from '@/views/chart/components/component-style/YAxisSelectorAntV' -import YAxisExtSelectorAntV from '@/views/chart/components/component-style/YAxisExtSelectorAntV' -import SizeSelectorAntV from '@/views/chart/components/shape-attr/SizeSelectorAntV' -import SplitSelectorAntV from '@/views/chart/components/component-style/SplitSelectorAntV' import CompareEdit from '@/views/chart/components/compare/CompareEdit' import { compareItem } from '@/views/chart/chart/compare' import ChartComponentS2 from '@/views/chart/components/ChartComponentS2' @@ -1270,40 +1021,29 @@ import { mapState } from 'vuex' import FunctionCfg from '@/views/chart/components/senior/FunctionCfg' import AssistLine from '@/views/chart/components/senior/AssistLine' import Threshold from '@/views/chart/components/senior/Threshold' -import TotalCfg from '@/views/chart/components/shape-attr/TotalCfg' import LabelNormalText from '@/views/chart/components/normal/LabelNormalText' import { pluginTypes } from '@/api/chart/chart' import ValueFormatterEdit from '@/views/chart/components/value-formatter/ValueFormatterEdit' import CustomSortEdit from '@/views/chart/components/compare/CustomSortEdit' +import ChartStyle from '@/views/chart/view/ChartStyle' export default { name: 'ChartEdit', components: { + ChartStyle, CustomSortEdit, ValueFormatterEdit, LabelNormalText, - TotalCfg, Threshold, AssistLine, FunctionCfg, DimensionExtItem, ChartComponentS2, CompareEdit, - SplitSelectorAntV, - SizeSelectorAntV, - YAxisExtSelectorAntV, - YAxisSelectorAntV, - XAxisSelectorAntV, - LegendSelectorAntV, - TooltipSelectorAntV, - LabelSelectorAntV, - TitleSelectorAntV, ChartType, ChartComponentG2, - YAxisExtSelector, QuotaExtItem, FilterItem, FieldEdit, - SplitSelector, TableSelector, ResultFilterEditor, LabelNormal, @@ -1311,15 +1051,6 @@ export default { TableNormal, DatasetChartDetail, QuotaFilterEditor, - BackgroundColorSelector, - XAxisSelector, - YAxisSelector, - TooltipSelector, - LabelSelector, - LegendSelector, - TitleSelector, - SizeSelector, - ColorSelector, ChartComponent, QuotaItem, DimensionItem, diff --git a/frontend/src/views/chart/view/ChartStyle.vue b/frontend/src/views/chart/view/ChartStyle.vue new file mode 100644 index 0000000000..efd155ec04 --- /dev/null +++ b/frontend/src/views/chart/view/ChartStyle.vue @@ -0,0 +1,542 @@ + + + +