显示折线图上的数字,一定要加上 symbolSize:3属性,否则即使设置了itemStyle也不能直接显示的
series:[
{
// name:'claim successful rate',
type:'line',
data:seriesArr,
markPoint: {
data: [
{type: 'max', name: '最大值'},
{type: 'min', name: '最小值'}
]
},
symbolSize:3,//一定要加这个字段才能显示
itemStyle:{
normal:{
label:{
show:true,
position:'top',
fontSize:9,
textStyle:{
color:'white'
}
}
}
}
}
]