“事件”的每小时时间线显示 - 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
Hour by hour Timeline display of 'events' - mysql php
提问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数据(下)

and display it in an hourly timeline, something like:

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

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 数据:
dhtmlxScheduler(Timeline View)
Pure CSS Timeline - Matt Bango(link does not work anymore)
Most of these found using timeline, gantt, jQuery, jskeywords
其中大部分是使用时间轴、甘特图、jQuery、js关键字找到的
回答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:
我一直在寻找可以显示具有更高时间分辨率的时间线的东西(至少可以精确到小时和分钟)。这个时间线可能能够处理:

