Merge pull request #2544 from dataease/pr@dev@fix_echarts-rader

fix: echarts雷达图没有指标
This commit is contained in:
王嘉豪
2022-07-01 11:15:59 +08:00
committed by GitHub

View File

@@ -55,11 +55,11 @@ export function baseRadarOption(chart_option, chart) {
name: y.name,
label: y.label
}
]
],
selectedMode: true,
select: BASE_ECHARTS_SELECT
}
y.value = JSON.parse(JSON.stringify(y.data))
chart_option.series[0].selectedMode = true
chart_option.series[0].select = BASE_ECHARTS_SELECT
chart_option.series.push(d)
maxValues.push(Math.max.apply(null, y.value))