diff --git a/frontend/src/components/canvas/utils/style.js b/frontend/src/components/canvas/utils/style.js index 9606eb2de8..b010aed82a 100644 --- a/frontend/src/components/canvas/utils/style.js +++ b/frontend/src/components/canvas/utils/style.js @@ -114,8 +114,6 @@ export const customAttrTrans = { 'quotaFontSize', 'spaceSplit', // 间隔 'scatterSymbolSize', // 气泡大小,散点图 - 'treemapWidth', // 矩形树图 - 'treemapHeight', 'radarSize'// 雷达占比 ], 'label': [ diff --git a/frontend/src/views/chart/chart/treemap/treemap.js b/frontend/src/views/chart/chart/treemap/treemap.js index 559a40bc0b..91ea9b54c9 100644 --- a/frontend/src/views/chart/chart/treemap/treemap.js +++ b/frontend/src/views/chart/chart/treemap/treemap.js @@ -1,6 +1,6 @@ import { hexColorToRGBA } from '@/views/chart/chart/util' import { componentStyle } from '../common/common' -import {BASE_ECHARTS_SELECT, DEFAULT_TOOLTIP} from '@/views/chart/chart/chart' +import { BASE_ECHARTS_SELECT, DEFAULT_TOOLTIP } from '@/views/chart/chart/chart' export function baseTreemapOption(chart_option, chart) { // 处理shape attr @@ -54,7 +54,6 @@ export function baseTreemapOption(chart_option, chart) { } chart_option.series[0].selectedMode = true chart_option.series[0].select = BASE_ECHARTS_SELECT - // y.type = 'treemap' chart_option.series[0].data.push(y) } chart_option.series[0].name = chart.data.series[0].name