DOJO:是否可以使用dojox.charting.Chart2D在图表上显示鼠标坐标?

发布于 2024-09-28 03:45:02 字数 150 浏览 0 评论 0原文

我希望我的图表与 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

对不⑦ 2024-10-05 03:45:03

只需使用常规 HTML 和 onmousemove 事件即可 - 与在 image 元素上显示鼠标坐标的方式相同。

Just use a regular HTML and onmousemove event for that — the same way you can show mouse coordinates over an image element.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文