1, solve the problem of separating columns of text, and the text is too long to solve the problem.
yAxis: [
{
type : 'category',
data : message.data[0].dataone,
axisLabel: {
interval:0,
formatter: function(value) {
if (value.length > 5) {
return value.substring(0,5) + "...";
} else {
return value;
}
}
},
},
],
2, eacharts paging.
3, hidden text pie
series: [
{
name:'完成',
type:'pie',
radius: ['75%', '90%'],
avoidLabelOverlap: false,
label: {
normal: {
show: false,
position: 'center'
},
emphasis: {
show: true,
textStyle: {
fontSize: '20',
}
}
},
labelLine: {
normal: {
show: false
}
},
data:datawc
},