Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望在悬停(鼠标悬停)时从 highcharts 中获取 plotBand id,并在具有相同 id 的 li 标签中更改一些样式。有没有办法在highcharts中做到这一点?到目前为止还没有看到这样的解决方案..
如果您看一下这里,您会发现您可以将moseover事件添加到您的plotBand. 然后你可以通过this.id. this指plotBand.
moseover
plotBand
this.id
this
演示