fix: 调整detection右侧key柱状图的tooltip提示

This commit is contained in:
刘洪洪
2024-08-15 17:54:03 +08:00
parent acb7d2257e
commit ee151d941b
2 changed files with 2 additions and 2 deletions

View File

@@ -306,7 +306,7 @@ export const activeAttackBar = {
overflow: 'truncate'
},
formatter: function (param, index, callback) {
return `${param.name}: ${unitConvert(param.value[0], 'number').join(' ')}`
return `${param.value[3]},${param.value[2]}: ${unitConvert(param.value[0], 'number').join(' ')}`
},
show: true,
className: 'nz-chart-tooltip',