可以处理带注释的新闻标题的 Javascript 图表组件

发布于 2024-10-15 03:24:25 字数 858 浏览 12 评论 0原文

我正在寻找一个 Javascript 图表组件,可以直接在图表上嵌入新闻标题,类似于 Google 财经

我知道这可以在 Flash 中使用 Google 图表工具 (http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html) 或 amCharts (http: //amcharts.com/stock/events/),但我宁愿避免使用 Flash,因为要与 iPad 和 iPhone 一起使用。

我也一直在关注 Flot (http://code.google.com/p/flot/) 和 Humble (http://www.humblesoftware.com/finance/index),但由于它们是使用 canvas 元素制作的,我认为它们在 IE 中工作得不够好。我知道它们都使用 excanvas 来使它们可以在 IE 中使用,但它们的性能不够好。我已经在几台计算机上的 IE 6-9 中测试了它们,但结果不足以让我有信心使用它们。

Highcharts (http://www.highcharts.com/demo/?example=line-time-series&theme=default) 和 Raphael (http://g.raphaeljs.com/) 给我留下了深刻的印象,但两者都没有其中默认实现了带注释的新闻标题,因此需要大量工作才能完成。对于如何在不使用 Flash 和不使用画布的情况下执行此操作,您还有其他建议吗?

如果有人实现了类似的解决方案,我也很高兴看到演示。

感谢您抽出时间。

I am looking for a Javascript chart component that can embed news headlines directly on the chart, similar to what is available with Google Finance

I know that this is possible in Flash with e.g. Google Chart Tools (http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html) or amCharts (http://amcharts.com/stock/events/), but I'd prefer to avoid using Flash, because of use with iPad and iPhone.

I have also been looking at Flot (http://code.google.com/p/flot/) and Humble (http://www.humblesoftware.com/finance/index), but since these are made using the canvas element, I don't think they work well enough in IE. I know they both use excanvas to make it possible to use them in IE, but they just don't perform well enough. I have been testing them in IE 6-9 on several computers and the results simply aren't good enough for me to confident in using them.

I have been quite impressed with Highcharts (http://www.highcharts.com/demo/?example=line-time-series&theme=default) and Raphael (http://g.raphaeljs.com/), but neither of those have implemented annotated news headlines by default, so it would require a lot of work to get it done. Do you have any other suggestions on how to do this without flash and without using canvas?

Also I would be happy to see demos, if anyone has implemented a similar solution.

Thank you for your time.

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

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

发布评论

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

评论(2

笑看君怀她人 2024-10-22 03:24:25

Raphael 的示例之一(原始图形库,而不是问题中链接的图形扩展)看起来可能与您正在寻找的内容很接近:http://raphaeljs.com/analytics.html

One of the examples for Raphael (the original graphics library, not the graphs extension linked to in the question) looks like it may be close to what you are looking for: http://raphaeljs.com/analytics.html

っ左 2024-10-22 03:24:25

这是一个老问题,但如果有人仍然找到它 - 您可以使用 JavaScript 版本的 amCharts:http://www.amcharts.com/stock-chart/stock-events/

免责声明:我是 amCharts 的作者。

It's an old question, but if somebody still finds it - you can have this with JavaScript version of amCharts: http://www.amcharts.com/stock-chart/stock-events/

Disclaimer: I am the author of amCharts.

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