是否可以使用 SVG 图形和 Javascript 创建此图表?

发布于 2024-09-18 04:40:00 字数 251 浏览 9 评论 0原文

http://www.stockmapper.com/NDXtrac.html

可以开发上述内容使用 SVG 和 Javascript 或其他一些轻量级技术(即 HTML5.0 技术)的图表?

需要付出什么样的努力(人天)?

SVG 版本会像 Flash 版本一样快速/流畅吗?

http://www.stockmapper.com/NDXtrac.html

Would be possible to develop the above chart using SVG and Javascript or some other lightweight technology i.e HTML5.0 technologies?

What sort of effort would be involved (man days)?

Would the SVG version be as fast/smooth as it's flash counterpart?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

聆听风音 2024-09-25 04:40:00

很酷的网站。我认为你确实可以在几天内构建这个(大约 1-2 周可能更喜欢它)。然而,您似乎并不需要 SVG。也许可以只使用 css 样式的 div 和绝对定位以及一些动画。您可能必须接受一些妥协,例如图表中虚线的样式或工具提示指针移动/拉伸的方式,但没有什么能让我尖叫“SVG”。

我在市场收盘后查看这个网站。是否全天更新实时/延迟数据?考虑到管理数据,这可能会更具挑战性,但可能并不是那么困难。

我认为这个 Flash 片段很容易胜过非 Flash(JS/HTML/CSS 和/或 SVG)片段,但如果做得好的话可能不会。

Cool site. I think you could indeed build this over a few days (~1-2 weeks probably more like it). However, It doesn't appear that you'd even need SVG. Could probably get away with just css-styled divs and absolute positioning and some animation. You might have to accept some compromises on things like the style of dashed lines in the charts or the fashion in which the tool-tip's pointer moves/stretches, but there's nothing that jumps out screaming "SVG" to me.

I'm looking at this site after close of the markets. Is it updating with live/delayed data throughout the day? That might make it a bit more challenging considering managing the data, but probably not terribly so.

I think that this Flash piece would easily outperform a non-flash (JS/HTML/CSS and/or SVG) piece, but perhaps not if done well.

孤星 2024-09-25 04:40:00

查看 http://svg-wow.org 中的示例,它提供了可免费重用的脚本 (CC0许可),这使得使用 svg 和动画变得更容易。

Have a look at the examples at http://svg-wow.org, which provides freely reusable scripts (CC0 licensed) that makes it easier to use svg with animation.

风透绣罗衣 2024-09-25 04:40:00

可能的?是的。

涉及努力吗?对我来说,可能需要几天。 YMMV。

它会像 Flash 一样快速/流畅吗?不完全是,但可能非常接近,因为没有任何淡入/淡出,并且您只是移动/调整多边形和矩形的大小。

Possible? Yes.

Effort involved? For me, probably a couple of days. YMMV.

Would it be as fast/smooth as Flash? Not exactly, but probably pretty close, given that there aren't any fadeins/fadeouts, and you're only moving/resizing a polygon and a rectangle.

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