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.
我从演示中看到了简单的例子:
http://dev.sencha.com/deploy/ext-4.0.0/examples/charts/Line.html
如何在图表中突出显示没有鼠标悬停的线(该线的模拟鼠标悬停事件)?
浏览到该示例并在浏览器的 javascript 控制台中写入以下内容:
chart = Ext.ComponentQuery.query('.chart')[0]; serie = chart.series.items[0]; serie.highlightItem();
这是它的外观: