-
显示数值在echarts图表上,看label,比方说一张图上有三个线,不是所有的都显示,那么,就可以用下面做下判断 var seriesItem = { name: '', type: 'bar', itemStyle: { normal: { color: '#3a99d9' } }, data: [], label: { normal: { show: true, color: '#000', position: 'top', fontSize: 9 } } };
seriesItemYoy.label.normal.show = false;