创建时间轴并在此时间轴上绘制详细信息 [英] Create a timeline and plot details on this timeline

查看:125
本文介绍了创建时间轴并在此时间轴上绘制详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一个数据库可以记录模拟中的某些事件。我需要使用VB创建时间轴,然后从数据库中获取事件并根据存储在数据库中的日志时间绘制它们。


最终时间线将根据数据库中的日志时间包含所有事件,并且每个时间图都会有详细信息。


知道怎么开始吗?正在看MSchart但不是我想到的东西。


提前感谢

Hi all,

I have a database that logs certain events on my simulation. I need to create a timeline using VB then get the events from the database and plot them according to the log time that is stored in the database.

eventually the timeline will contain all the events according to the log time in the database and they will have details on each time plot.

Any idea how to start? was looking at MSchart but not something that i have in mind.

thanks in advance

推荐答案

首先把数据放在数据库中的数据库。

使用此数据您可以编写自己的图表布局可视化代码。


开始时的一些问题:

Q1是否可以在字节中附加布局的GIF文件或屏幕截图(简单草图)您想看到我们可以知道我们必须考虑哪个方向?

(我附上了一个用Paint创建的示例)。

Q2是否可以附加数据示例?

是文本吗?多少char',...

Q3必须立即看到所有数据,或者鼠标是否在数据点上移动,......?





First put the data from the database in an array.
With this data You can write the code for the visualization of Your own chart layout.

Some questions to start:
Q1 Is it possible to attach in Bytes a GIF file or screen capture (a simple sketch) of the layout You want to see so we can have an idea in which direction we have to think?
(I have attached an example created with Paint).
Q2 Is it possible to attach an example of the data ?
Is it text ? how much char''s,...
Q3 Must all the data be visible at once or if the mouse moves over the data-points, ...?
附图像
example.GIF (2.3 KB,1213 views)
Attached Images
example.GIF (2.3 KB, 1213 views)





数据是这样的:


(LogTime,Action)

8:00:000,BusID 1离开仓库

8:01:050,BusID 1在巴士站A停靠

8:05 :000,BusID 1离开公共汽车站A


我希望根据logTime将操作指向时间线。用户可以放大和缩小时间线以查看详细信息。


时间轴看起来就像你附上的那样。


我想知道是否有任何我可以在VB中使用的时间线控件。谢谢!


the data would be something like this:

(LogTime, Action)
8:00:000, "BusID 1 Leaves Depot"
8:01:050, "BusID 1 stops at Bus stop A"
8:05:000, "BusID 1 Leaves bus stop A"

I hope to have the actions pointed to the timeline according to their logTime. The user can zoom in and out of the timeline to view the details.

the timeline can look something like what u have attached.

I was wondering if there are any timeline control that i can make use of in VB. Thanks!


抱歉,我没看到附件。

附加字节:

[Go Advanced] - [管理附件]
Sorry but I don''t see an attachment.
To attach in Bytes:
[Go Advanced] - [Manage attachments]


这篇关于创建时间轴并在此时间轴上绘制详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆