forked from github/dataease
fix: echarts雷达图没有指标
This commit is contained in:
parent
d1d116e86d
commit
397b9da6db
@ -55,11 +55,11 @@ export function baseRadarOption(chart_option, chart) {
|
|||||||
name: y.name,
|
name: y.name,
|
||||||
label: y.label
|
label: y.label
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
selectedMode: true,
|
||||||
|
select: BASE_ECHARTS_SELECT
|
||||||
}
|
}
|
||||||
y.value = JSON.parse(JSON.stringify(y.data))
|
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)
|
chart_option.series.push(d)
|
||||||
|
|
||||||
maxValues.push(Math.max.apply(null, y.value))
|
maxValues.push(Math.max.apply(null, y.value))
|
||||||
|
Loading…
Reference in New Issue
Block a user