StackedColumn 图表中的条形图而不是数据点的鼠标悬停预览
我有一个 StackedColumn 图表,我想添加鼠标悬停预览。目前,我正在遍历一系列要点以添加执行此操作的功能。
这使得该列中的每个系列都会进行鼠标悬停/鼠标移出。我希望它为该列执行一次鼠标悬停/鼠标移出。建议?
I have a StackedColumn chart which I'd like to add a mouseover preview. Currently I'm looping through the points of a series to add the the functionality to do this.
This makes each series in the column will do a mouseover/mouseout. I'd like it to do a single mouseover/mouseout for the column. Suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,这不是一个热门问题。
我偶然发现了CustomizeMapAreas 事件。在那里,我循环遍历
e.MapAreaItems
并调整区域的大小,以便整个列只有一个区域。然后我删除了不再需要的区域。这可能不是最有效的方法,但它就是......Ok, not a popular question.
I stumbled across the CustomizeMapAreas event. In there I looped through the
e.MapAreaItems
and adjusted the size of the areas so that there was just one area for the entire column. Then I removed the areas I didn't need anymore. It's probably not the most efficient way to do it, but here it is...