当前位置:网站首页>如何使用甘特图图层和筛选器
如何使用甘特图图层和筛选器
2020-11-06 22:27:00 【roffey】
甘特图(Xgantt)从1998年的第一个商用版本开始就致力于计划编制和项目管理方面控件的研究和开发,经过20多年的积累和沉淀,目前可为软件开发商和最终用户提供最顶级的计划编制和项目管理的控件产品,帮助用户快速的整合项目管理软件所需的甘特图,网络图,资源柱状图,日程日历,资源调度等功能模块,并提供全方位的支持和服务。
VARCHART XGantt是一款功能强大的甘特图控件,其模块化的设计让您可以创建满足需要的应用程序。XGantt可用于.NET,ActiveX和ASP.NET应用程序,可以快速、简单地集成到您的应用程序中,帮助您识别性能瓶颈、避免延迟以及高效利用资源,使复杂数据变得更加容易理解。
您是否了解我们如何使用VARCHART XGantt开发功能强大的可视化计划应用程序的系列?如果按照所有步骤进行操作,那么现在您将拥有一个相当全面的Gantt应用程序:您已经安装了我们的.NET Gantt控件,已经开始使用示例库,已经将数据加载到了控件中,您知道如何更改时间单位并修改时间范围,并可能通过创建组来构造甘特图(如上一篇博客文章中所述)。
使用图层
图层是一对日期的图形表示。此外,同一对日期可以通过多个图层显示。逻辑上,不同的层堆叠成一堆。
在我们的示例中,我们现在将创建另一个外观不同的图层。
1.在“ 对象”属性页上,选择“ 图层...”。将弹出“ 指定条形外观 ”对话框。您将注意到Task层已经创建。

2.通过单击相应的按钮创建一个新层Button_Create_New 。
3.现在必须修改新层。为此,请单击“新层”,然后单击Button_Edit2 。“编辑层”对话框将打开。
4.请将“ 形状”更改为向下箭头,“ 背景”颜色更改为黄色。

1.通过单击“确定”,您将返回到“ 指定条形外观”对话框。
2.如果单击相应字段的预览列,则节点的每个层将显示在下面的预览中。红色三角形而不是绿色三角形表示该图层在下面的预览窗口中显示。

3.在我们的编程示例中,对定义的修改显示以下结果:
使用过滤器
接下来,我们希望仅当节点是一个里程碑(即活动的持续时间等于0)时才显示黄色箭头。
使用过滤器可以轻松解决此问题。过滤器由一系列链接条件组成,这些条件导致逻辑上的是/否语句。
图层始终链接到过滤器。仅当过滤条件的评估结果为“是”时,相应的层才可见。默认情况下分配给图层的过滤器始终返回“是”。对于我们的示例,需要两个过滤器,每个过滤器都包含一个条件:
?? 如果持续时间= 0,则将出现黄色箭头
?? 如果持续时间> 0,则将出现蓝色条
- 在“ 对象 ”属性页 上,单击“ 过滤器 ”按钮,这将弹出“ 管理过滤器 ”对话框。
- 现在,请通过单击创建两个新的过滤器 Button_Create_New。
- 在名称列中, 将“ NewFilter”和“ NewFilter1”重命名为“ Milestone”和“ Activity”。
- 请单击“ 应用”确认修改 。
1.选择过滤器“里程碑”,然后单击打开对话框“ 编辑过滤器 ” Button_Edit2 。
2.选择“持续时间”作为字段名称,选择运算符 “等于”并选择比较值 0
1.单击确定退出对话框。
2.选择“活动”,然后再次单击转到“ 编辑过滤器”对话框。
3.选择“持续时间”作为字段名称,将运算符 “大于”选择为比较值 0。
1.单击确定进行确认。

1.单击确定关闭对话框,然后 返回到属性页。
2.为了使过滤器投入运行,需要将其分配给各层。为此,请单击“ 层… ”按钮以打开“ 指定条形外观 ”对话框。
1.如果您现在运行程序,并且第一个活动的持续时间设置为0,则将产生以下结果:
版权声明
本文为[roffey]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4587239/blog/4487407
边栏推荐
- September 3, 2020: naked writing algorithm: loop matrix traversal.
- Windows 10 蓝牙管理页面'添加蓝牙或其他设备'选项点击无响应的解决方案
- STM32F030F4P6兼容灵动微MM32F031F4P6
- 南京标识标牌设计制作,导视VI系统设计
- Countdown | 2020 PostgreSQL Asia Conference - agenda arrangement of Chinese sub Forum
- STM32F030C6T6兼容替换MM32SPIN05PF
- Application insights application insights use application maps to build request link views
- Those who have worked in China for six years and a million annual salary want to share these four points with you
- 2020-09-04: do you understand the function call convention?
- How to make characters move
猜你喜欢
“非洲用户的付费意愿并不低”——专访四达时代研发总监张亮
Common syntax corresponding table of mongodb and SQL
WebAPI接口设计:SwaggerUI文档 / 统一响应格式 / 统一异常处理 / 统一权限验证
如何才能快速正确的部署甘特图
The Interpreter pattern of behavior pattern
心理咨询app开发所具备的优点与功能
August 14, 2020: what are the execution engines for data tasks?
How to prepare for the system design interview
A good thing for working people -- to temper the will of iron and steel requires such an efficient computer
轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
随机推荐
[self taught unity2d legendary game development] map editor
[graffiti Internet of things footprints] panoramic introduction of graffiti cloud platform
Novice guidance and event management system in game development
C and C / C + + mixed programming series 5 - GC collaboration of memory management
This project allows you to quickly learn about a programming language in a few minutes
September 3, 2020: naked writing algorithm: loop matrix traversal.
Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)
Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
All the way, I was forced to talk about C code debugging skills and remote debugging
轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
The use of Xunwei imx6 development board device tree kernel menuconfig
2020-08-29: process thread differences, in addition to the inclusion relationship, the underlying details?
The essence of transaction and the principle of deadlock
如何创建交互式内核密度图表
Count the number of project code lines
Summary of common SQL statements
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
C calls SendMessage to refresh the taskbar icon (the icon does not disappear at the end of forcing)
How to manage the authority of database account?
Utility class functions (continuous update)