this.option = {
series: [
{
markPoint: {
itemStyle: {
normal: {
color: function (params) {
if (params.values[0].equals("B")) {
return 'blue';
} else {
return "black";
}
}
}
},
}
}
]
}


为什么这样 设置color 是无效的 , 如果不设置color 默认就是 红色 现在设置了颜色 结果还是默认的颜色?