itemStyle.normal.label is deprecated, use label instead.
'normal'hierarchy in label has been removed since 4.0. All style properties are configured in label directly now.
错误写法:
javascript
itemStyle: {
normal: {
// color: '#00E0FF', // 设置折线点颜色
label: { //在折线拐点上显示数据
},
}
},
正确写法:label移动到最外层和itemStyle同级
javascript
label: { //在折线拐点上显示数据
},
itemStyle: {
},