“事件”的每小时时间线显示 - mysql php

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15572510/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 09:30:04  来源:igfitidea点击:

Hour by hour Timeline display of 'events' - mysql php

phpjquerymysql

提问by Smudger

I have been googling for a while but haven't come up with anything great as yet.

我已经用谷歌搜索了一段时间,但还没有想出什么好东西。

What I want to do is take mysql data (below) mysql table

我想做的是取mysql数据(下) mysql 表

and display it in an hourly timeline, something like: desired timeline

并将其显示在每小时的时间表中,例如: 想要的时间表

Anyone got any good links or tutorials on how to make this happen?

任何人都有关于如何实现这一点的任何好的链接或教程?

Not looking for an exact solution(although that helps) but just some direction t get me started.

不是在寻找一个确切的解决方案(尽管这有帮助),但只是一些方向让我开始。

so mysql db with php and jquery

所以 mysql db 与 php 和 jquery

Thanks,

谢谢,

回答by MikeM

These timeline / gantt plugins should get you most of the way there, likely just need to setup the JSON data:

这些时间轴/甘特图插件应该可以帮助您完成大部分工作,可能只需要设置 JSON 数据:

  1. dhtmlxScheduler(Timeline View)

    Timeline View

  2. Bluelinemedia Timeline

    Bluelinemedia Timeline

  3. Pure CSS Timeline - Matt Bango(link does not work anymore)

    Pure CSS Timeline

  4. Chronoline JS

    Chronoline JS

  5. Timeline JS

    Timeline JS

  6. jQuery.Gantt

    enter image description here

  1. dhtmlxScheduler(时间轴视图)

    时间线视图

  2. Bluelinemedia 时间轴

    Bluelinemedia 时间轴

  3. 纯 CSS 时间轴 - Matt Bango(链接不再有效)

    纯 CSS 时间线

  4. 时间线 JS

    时间线 JS

  5. 时间线JS

    时间线JS

  6. jQuery.甘特图

    在此处输入图片说明

Most of these found using timeline, gantt, jQuery, jskeywords

其中大部分是使用时间轴甘特图jQueryjs关键字找到的

回答by Donatello

I have been looking for something that can display a timeline with a higher time resolution as well (at least down to hours and minutes). This Timeline might be able to be handle just that:

我一直在寻找可以显示具有更高时间分辨率的时间线的东西(至少可以精确到小时和分钟)。这个时间线可能能够处理:

Timelineby Jos de Jong and Almende B.V.

Jos de Jong 和 Almende BV 的时间表

回答by Epoc

Timestackis also interesting (and easily hackable).

Timestack也很有趣(并且很容易被破解)。

Google have alsotheir own timeline chart.

谷歌也有自己的时间表。