perf: overview柱状图美化

This commit is contained in:
chenjinsong
2020-07-09 21:14:05 +08:00
parent ea8dca30ae
commit 05a57f1f30
2 changed files with 8 additions and 14 deletions

View File

@@ -193,7 +193,6 @@
top: 30,
left: 0,
right: 30,
containLabel: true,
bottom:8
},
series: [],
@@ -221,14 +220,15 @@
},
data: [],
axisLabel: {
show:true,
show: true,
formatter: function(value) {
if (value.length > 12) {
return value.substring(0, 9) + "...";
if (value.length > 33) {
return value.substring(0, 30) + "...";
}
return value;
},
fontSize: 10
align: 'left',
margin: 200,
},
triggerEvent: true
},