Javascript 当鼠标悬停事件发生时,如何更改绘图仪上的光标?

Javascript 当鼠标悬停事件发生时,如何更改绘图仪上的光标?,javascript,graph,plotly,legend,Javascript,Graph,Plotly,Legend,当plotly的图形图例上发生悬停事件时,我试图将光标从指针更改为默认值 legend: { cursor: "default", x: xLegenda, y: yLegenda, orientation: "h", font: { size: 12, },

当plotly的图形图例上发生悬停事件时,我试图将光标从指针更改为默认值

   legend: {
          cursor: "default",
        x: xLegenda,
        y: yLegenda,
        orientation: "h",
        font: {
          size: 12,
        },