我可以使用什么 Delphi 甘特图/调度程序组件?
我目前在我的应用程序中使用 DevExpress Scheduler 的 GanttView,它可以满足我的需要,除了一件事之外。我的调度程序有多个资源,每个资源都有许多事件。 DevExpress 调度程序的问题是屏幕上每个资源的高度必须相同,这意味着如果一个资源有 15 个事件,而另一个资源有 1 个事件,则具有 1 个事件的资源最终会占用大量浪费的空间。
Delphi 是否有一个调度程序可以根据其中的事件数量调整每个资源的高度?
其他要求很简单:
- 时间尺度应该在 15 分钟或更短
- 事件可以拖动来调整开始/结束时间
- 事件可以拖动到不同的资源
- 每个事件可以分类为不同的颜色
- 不需要事件链接
- 事件可以开始于随时,无需等待之前的活动结束
希望我已经解释清楚了,如果您需要任何说明,请告诉我
I'm currently using DevExpress Scheduler's GanttView in my application, it does what I need except for one thing. My scheduler has multiple resources, and each resource has numerous events. The problem with the DevExpress scheduler is the height of each resource on the screen has to be the same, that means if a resource has 15 events, and another has 1 event, the resource with 1 event end up taking up lots of wasted space.
Is there a scheduler available for Delphi that would adjust the height of each resource according to the number of events in it?
The other requirements are quite simple:
- The time scale should be at 15mins of less
- Events can be drag to adjust start/end time
- Events can be drag to different resources
- Each event can be categories to different colours
- No event linking is necessary
- Events can start at anytime, no need to wait for previous event to finish
Hope I've explained this ok, let me know if you need any clarifications
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有人在 about.com 上做了一个总结:
http://delphi.about.com/od/toppicks/tp/aatpplaner。嗯
另一个:
http://www.sourcecodeonline.com/list?q=gantt_vcl_delphi
Someone did a run-down on about.com:
http://delphi.about.com/od/toppicks/tp/aatpplaner.htm
and another:
http://www.sourcecodeonline.com/list?q=gantt_vcl_delphi
我不确定 Sad Man Software RAC 图表是否能完全满足您的需求,但我可以告诉您,我已经使用该组件 3 年了,并且该组件的质量非常出色。
I'm not sure the Sad Man Software RAC chart will exactly meets your needs, but I can tell you that I've used the component for 3 years now and the quality of the component is exceptional.
最终使用了 eXontrol 的 exg2antt
http://www.exontrol.com/exg2antt.jsp
我 COM组件而不是原生VCL,布局方面看起来相当灵活,我特别喜欢树形网格和甘特图的组合。默认外观相当过时,但可以轻松应用皮肤。
我确实遇到了生成的 TLB 文件问题,导致了错误的变体类型错误,但开发人员在 24 小时内通过电子邮件给我发回了可行的解决方案。
I end up using eXontrol's exg2antt
http://www.exontrol.com/exg2antt.jsp
It's a COM component instead of native VCL, the layout aspect seems quite flexible, I especially like the combination of a tree grid and gantt chart. The default look is quite dated, but a skin can easily be apply to it.
I did have problem with the TLB file generated causing bad variant type errors, but the developers emailed me back a working solution within 24hrs.