我想更改JQUERY PLOT插件中图形数据鼠标悬停时的光标样式。
你可以用css做i:
.plotclass:hover {
cursor: url('pathtocursor');
}
我不知道你想要什么,但我认为这会对你有所帮助。
plot.bind("plothover", function(event, pos, item) {
if(item) {
document.body.style.cursor = 'pointer';
} else {
document.body.style.cursor = 'default';
}
}