谷歌可视化注释时间线的替代品? (图形库)

发布于 2024-11-26 05:24:29 字数 715 浏览 6 评论 0原文

除了 Google 的带注释的时间轴可视化 API 之外,还有其他选择吗?

在此处输入图像说明

带注释的时间轴中存在一些错误,而且这些错误似乎不会得到解决。

它也是一个基于 Flash 的图表。 Canvas+Javascript 实现会更便携。


使带注释的时间线有价值的品质(与我迄今为止发现的所有其他图表库相反)是:

  • 支持多行
  • 缩放;钻取和钻出日期范围
  • 在时间上来回平移
  • 支持数千个数据点
  • 能够动态提供新数据

据我所知 Google Annotated Timeline 是唯一的交互式折线图库。

Is there any alternative to Google's Annotated Timeline Visualization API?

enter image description here

There's some bugs in the Annotated Timeline, and it doesn't appear they will be addressed.

Also it is a Flash based chart. A Canvas+Javascript implementation would be more portable.


The qualities that make the Annotated Timeline valuable (as opposed to every other charting library i've found so far) are:

  • supports multiple lines
  • zooming; to drill in and out of a date range
  • panning back and forth through time
  • supports thousands of data points
  • ability to be fed new data on the fly

As far as i can tell Google's Annotated Timeline is the only interactive line graph library.

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

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

发布评论

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

评论(9

岁月打碎记忆 2024-12-03 05:24:29

Dygraphs 应该完全符合您的要求,并且是一个完整的 js 实现。它是免费的,并且已经与 gviz 集成 (示例),因此您几乎不需要更改任何内容。它还具有其他 gviz 图表上没有的其他有用功能(例如滚动平均值计算)。

希望有帮助。

Dygraphs should do exactly what you want, and is a full js implementation. It's free, and already integrates with gviz (sample here), so you should barely need to change anything. It also has a bunch of other useful functionality not found on other gviz charts (like rolling average calculation).

Hope that helps.

故事和酒 2024-12-03 05:24:29

我知道这个问题已经很老了,但如果我知道有一个新的 ChartRangeFilter api,它会节省我很多时间。

在此处输入图像说明

https://google-developers.appspot.com/chart/interactive/docs/gallery/controls#chartrangefilter

I know this question is pretty old but it would save me a lot of time if I knew there was a new ChartRangeFilter api.

enter image description here

https://google-developers.appspot.com/chart/interactive/docs/gallery/controls#chartrangefilter

望喜 2024-12-03 05:24:29

Google 于 2014 年 1 月 29 日发布了此类的新版本名为 Annotation 的图表图表。确实很酷!最重要的是,它可以免费供您随时随地使用。

注释图表是交互式时间序列折线图,支持
注释。与使用 Flash 的带注释的时间线不同,
注释图表是 SVG/VML,无论何时都应首选
有可能。

样本:

<html>
  <head>
    <script type='text/javascript' src='http://www.google.com/jsapi'></script>
    <script type='text/javascript'>
      google.load('visualization', '1.1', {'packages':['annotationchart']});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = new google.visualization.DataTable();
        data.addColumn('date', 'Date');
        data.addColumn('number', 'Kepler-22b mission');
        data.addColumn('string', 'Kepler title');
        data.addColumn('string', 'Kepler text');
        data.addColumn('number', 'Gliese 163 mission');
        data.addColumn('string', 'Gliese title');
        data.addColumn('string', 'Gliese text');
        data.addRows([
          [new Date(2314, 2, 15), 12400, undefined, undefined,
                                  10645, undefined, undefined],
          [new Date(2314, 2, 16), 24045, 'Lalibertines', 'First encounter',
                                  12374, undefined, undefined],
          [new Date(2314, 2, 17), 35022, 'Lalibertines', 'They are very tall',
                                  15766, 'Gallantors', 'First Encounter'],
          [new Date(2314, 2, 18), 12284, 'Lalibertines', 'Attack on our crew!',
                                  34334, 'Gallantors', 'Statement of shared principles'],
          [new Date(2314, 2, 19), 8476, 'Lalibertines', 'Heavy casualties',
                                  66467, 'Gallantors', 'Mysteries revealed'],
          [new Date(2314, 2, 20), 0, 'Lalibertines', 'All crew lost',
                                  79463, 'Gallantors', 'Omniscience achieved']
        ]);

        var chart = new google.visualization.AnnotationChart(document.getElementById('chart_div'));

        var options = {
          displayAnnotations: true,
        };

        chart.draw(data, options);
      }
    </script>
  </head>

  <body>
    <div id='chart_div' style='width: 900px; height: 500px;'></div>
  </body>
</html>

On January 29, 2014 Google has made available a new version of such a chart called Annotation Chart. It's pretty cool indeed! Best of all it's free to user wherever you want.

Annotation charts are interactive time series line charts that support
annotations. Unlike the annotated timeline, which uses Flash,
annotation charts are SVG/VML and should be preferred whenever
possible.

Sample:

<html>
  <head>
    <script type='text/javascript' src='http://www.google.com/jsapi'></script>
    <script type='text/javascript'>
      google.load('visualization', '1.1', {'packages':['annotationchart']});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = new google.visualization.DataTable();
        data.addColumn('date', 'Date');
        data.addColumn('number', 'Kepler-22b mission');
        data.addColumn('string', 'Kepler title');
        data.addColumn('string', 'Kepler text');
        data.addColumn('number', 'Gliese 163 mission');
        data.addColumn('string', 'Gliese title');
        data.addColumn('string', 'Gliese text');
        data.addRows([
          [new Date(2314, 2, 15), 12400, undefined, undefined,
                                  10645, undefined, undefined],
          [new Date(2314, 2, 16), 24045, 'Lalibertines', 'First encounter',
                                  12374, undefined, undefined],
          [new Date(2314, 2, 17), 35022, 'Lalibertines', 'They are very tall',
                                  15766, 'Gallantors', 'First Encounter'],
          [new Date(2314, 2, 18), 12284, 'Lalibertines', 'Attack on our crew!',
                                  34334, 'Gallantors', 'Statement of shared principles'],
          [new Date(2314, 2, 19), 8476, 'Lalibertines', 'Heavy casualties',
                                  66467, 'Gallantors', 'Mysteries revealed'],
          [new Date(2314, 2, 20), 0, 'Lalibertines', 'All crew lost',
                                  79463, 'Gallantors', 'Omniscience achieved']
        ]);

        var chart = new google.visualization.AnnotationChart(document.getElementById('chart_div'));

        var options = {
          displayAnnotations: true,
        };

        chart.draw(data, options);
      }
    </script>
  </head>

  <body>
    <div id='chart_div' style='width: 900px; height: 500px;'></div>
  </body>
</html>
随风而去 2024-12-03 05:24:29

我刚刚遇到这个:

http://www.highcharts.com/demo/dynamic-master -detail

它不是免费的,但看起来很有趣。

I just ran into this:

http://www.highcharts.com/demo/dynamic-master-detail

It's not free but it looks interesting.

伏妖词 2024-12-03 05:24:29

这个线程有点旧,但 MIT 的 SIMILE 小部件很棒。他们也有一个时间表。
SIMILE 时间轴小部件

This thread is little old, but SIMILE widgets by MIT are great. They have one for timeline as well.
SIMILE Timeline Widget

够钟 2024-12-03 05:24:29

院子里有一个新项目(是的,我是那里的开发人员之一),它可能非常适合您的需求:

数据可视化软件实验室

该库完全基于 HTML5,并且交互性很强 - 尝试演示。它还针对移动设备进行了优化,因此您可以在任何设备上使用它。

库目前处于测试阶段并正在积极开发中。更多功能即将推出。强烈推荐任何反馈。还有大量的文档和使用示例。还提供用于外部控制的 API。

提供双重许可。

快照:

TimeChart 示例

There is a new project in the yard (yep, I'm one of developers there), which might be the perfect fit for your needs:

Data Visualization Software Lab

That library is purely HTML5 based and very interactive - try the demo. It's also Mobile optimised, so you can use it on any device.

Library is in beta and active development at the moment. Many more features to come soon. Any feedback would be highly recommended. There is also extensive documentation and examples of usage. API for external control is present as well.

Dual licensing to be provided.

Snapshot:

TimeChart example

开始看清了 2024-12-03 05:24:29

经过广泛研究以取代 Google Annotated Timeline,我认为 HighChart StockChart 是最全面的。
如上所述,它不是开源的,也不是免费的,但我认为它是负担得起的。

After extensive research to replace Google Annotated Timeline, I think that HighChart StockChart is the most comprehensive.
As mentioned above, it is not open source nor free, but affordable according to me.

旧梦荧光笔 2024-12-03 05:24:29

如果您不需要注释而只需要取景器功能,请尝试 NVD3.js

Try NVD3.js if you don't need the annotation but only the viewfinder feature.

幼儿园老大 2024-12-03 05:24:29

尝试 c3js
.它完全免费、轻便且易于使用。

Try c3js
.Its completely free, light and easy to use.

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