fix:修改legend 跟图例不对应的问题

This commit is contained in:
zhangyu
2021-03-31 16:33:24 +08:00
parent 5fa9bc0188
commit bfc5bbbd1c
3 changed files with 22 additions and 14 deletions

View File

@@ -502,6 +502,7 @@ export default {
}
if (promIndex >= this.selectedEndpoints.length) {
legend.name = 'process_' + legend.name
chartData.name = legend.name
legend.alias = 'process_' + legend.alias
}
this.legend.push(legend)