refactor: 修改 chart title
This commit is contained in:
parent
7dba6df7b1
commit
9ae8305b2c
|
@ -106,7 +106,8 @@ export default {
|
||||||
formatter: '{b}: {c} ({d}%)'
|
formatter: '{b}: {c} ({d}%)'
|
||||||
},
|
},
|
||||||
title: [{
|
title: [{
|
||||||
text: '{value|' + this.content.total + '}\n{name|' + this.$t('api_report.request') + '}',
|
text: this.content.total,
|
||||||
|
subtext: this.$t('api_report.request'),
|
||||||
top: 'center',
|
top: 'center',
|
||||||
left: 'center',
|
left: 'center',
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
|
Loading…
Reference in New Issue