fix(视图): 修复矩形树图在全屏时可能覆盖边框的问题 (#2573)
* fix: 修复移动端编辑后列表移动端标志没有及时显示 * fix: 修复矩形树图在全屏时可能覆盖边框的问题 Co-authored-by: wangjiahao <1522128093@qq.com>
This commit is contained in:
parent
a516e958ad
commit
84559e2a3f
@ -114,8 +114,6 @@ export const customAttrTrans = {
|
||||
'quotaFontSize',
|
||||
'spaceSplit', // 间隔
|
||||
'scatterSymbolSize', // 气泡大小,散点图
|
||||
'treemapWidth', // 矩形树图
|
||||
'treemapHeight',
|
||||
'radarSize'// 雷达占比
|
||||
],
|
||||
'label': [
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user