优化界面

This commit is contained in:
刘祥超
2021-09-15 19:22:54 +08:00
parent 6e36528f35
commit 0f28df51f1
9 changed files with 32 additions and 21 deletions

View File

@@ -63,16 +63,18 @@ Tea.context(function () {
}
let chart = teaweb.initChart(chartBox)
chart.setOption({
radar: {
splitNumber: 4,
indicator: this.results.map(function (result) {
return {
name: result.node.name,
color: result.color,
max: 5000
}
})
},
radar: [
{
splitNumber: 4,
indicator: this.results.map(function (result) {
return {
name: result.node.name,
color: result.color,
max: 5000
}
})
}
],
series: [{
name: '',
type: 'radar',