DOJO:是否可以使用dojox.charting.Chart2D在图表上显示鼠标坐标?
我希望我的图表与 Google 财务图表类似,当鼠标悬停在图表上时显示鼠标的 x&y 坐标。我使用 DOJO 的 dojox.charting.Chart2D 来绘制图表。可能有办法显示坐标,但我没有找到显示它们的选项。如果有人已经使用过这个或以前知道过这个,请建议我。 -安居
I want my graph some thing similar to Google finance graphs in the context of displaying x&y co-ordinates of the mouse when hover on the graph. Am using, DOJO's dojox.charting.Chart2D to draw the graph. Might be there is way to display the co-ordinates but i didn't find the option to display them. Please suggest me if some one is already used this or known before.
-Anju
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需使用常规 HTML 和
onmousemove
事件即可 - 与在image
元素上显示鼠标坐标的方式相同。Just use a regular HTML and
onmousemove
event for that — the same way you can show mouse coordinates over animage
element.