谷歌财经风格的时间序列图
我需要在图表上绘制带时间戳的传感器数据。一天会有 3000 到 15000 个数据点,我正在寻找易于导航的交互式图表。 Google 财经图表小部件非常适合我的要求。它似乎在滚动和缩放时智能地加载数据。 请参阅:http://www.google.com/finance?q=NYSE%3AXOM
我看到 Causes.com 使用了相同的小部件,这让我认为它不是 Google 专有组件。 http://www.causes.com/causes/579073-india-against -corruption/impact
有谁知道在哪里可以找到这个组件或替代品?
仅供参考:我正在使用 Ext GWT 和 Java 后端。
编辑:进一步搜索在 Google 图表工具上找到了它。它的使用似乎依赖于谷歌的基础设施。我不希望我的应用程序中存在此类依赖项,因此我想我将不得不寻求替代方案。
I need to plot time stamped sensor data on a chart. There would be 3000 to 15000 data points in a day and I am looking for an interactive chart that is easy to navigate. Google Finance chart widget is perfect for my requirement. It seems to intelligently load data as one scrolls and zooms.
See: http://www.google.com/finance?q=NYSE%3AXOM
I have seen the same widget being used by causes.com which makes me think that it is not a Google proprietary component.
http://www.causes.com/causes/579073-india-against-corruption/impact
Does anyone know where can I find this component or an alternative?
Just FYI: I am using Ext GWT and a Java back end.
Edit: On further search found it on Google Chart Tools. Its use seems to be dependent on Google's infrastructure. I don't want such dependencies in my app and so I guess I will have to settle for an alternative.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您在寻找这样的东西吗?
http://dygraphs.com/tests/range-selector.html
dygraphs 是一个开源独立的 JavaScript 库,用于绘制时间序列图表,没有依赖关系。它会自动缩放图表以匹配您的数据,将时间转换为正确的时区,可以从任意远程 URL 绘制 CSV 文件等。
Are you looking for something like this?
http://dygraphs.com/tests/range-selector.html
dygraphs is an open-source self-contained JavaScript library for charting time series, with no dependencies. It automatically scales the graph to match your data, translates times into the correct time zone, can plot CSV files from arbitrary remote URLs etc.
使用中提供的带注释的时间线图表 Google 可视化 API。
它为您提供的图表与链接 http://www.google.com 中看到的图表相同/finance?q=NYSE%3AXOM
我一直在开发一个 Ext-Gwt 应用程序,它需要一个与您提到的规格有些相同的图表。
google api Chart 很好地集成到我的应用程序中,并且编码并不困难。我对此非常满意,并推荐您尝试一下。
不过它确实需要 Google Inra 来绘制图表。因此,如果您可以做出权衡,这对您来说将是一个不错的选择。
Use the Annotated TimeLine chart provided in the Google Visualization API.
It gives you the same chart that you see in the link http://www.google.com/finance?q=NYSE%3AXOM
I have been working on an Ext-Gwt app that requires a chart with somewhat the same specs that you mentioned.
The google api Chart integrates well into my App, and is not that difficult to code. I am pretty satisfied with it and would recommend you to try it out.
It though does need Google Inra to draw the Charts though. So if you can decide on a tradeoff, it would be a great option for you.