echarts 图表点的颜色根据y轴的值动态改变颜色
核心代码: 和series对象平行
visualMap: {
top: 10,
right: 10,
show: true,
pieces: [{
gt: 0,
lte: 40,
color: '#096'
}, {
gt: 40,
lte: 60,
color: '#ffde33'
}, {
gt: 60,
lte: 100,
color: '#ff9933'
}, {
gt: 100,
lte: 150,
color: '#cc0033'
}],
outOfRange: {
color: '#999'
}
},