@@ -576,6 +576,21 @@ export default {
],
legend: {
},
+ axisLabel: {
+ show: true,
+ textStyle: {
+ color: '#fff'
+ },
+ interval: 0,
+ //设置字数限制
+ formatter: function(value) {
+ if (value.length > 8) {
+ return value.substring(0, 7) + "...";
+ } else {
+ return value;
+ }
dataList:[],
yearDataList:[],