适用于所有类型图表
//图例hover样式
legend: {
itemStyle: {
cursor: "default",
},
itemHoverStyle: {
cursor: "default",
},
},
//禁用图例点击事件
plotOptions: {
series: {
events: {
legendItemClick: function () {
return false;
},
},
},
},