当前位置:网站首页>如何使用甘特图图层和筛选器
如何使用甘特图图层和筛选器
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
边栏推荐
- JVM memory allocation - xms128m - xmx512m - XX: permsize = 128M - XX: maxpermsize = 512M
- How much disk space does a new empty file take?
- Es create a new index database and copy the old index library, practice pro test effective!
- Composition of MRAM cache
- September 9, 2020: naked writing algorithm: two threads print numbers 1-100 in turn.
- Stickinengine architecture 12 communication protocol
- Characteristics of magnetic memory chip STT-MRAM
- Empty test suite appears in JUnit test
- STM32F030F4P6兼容灵动微MM32F031F4P6
- Common mathematical basic formulas of recursive and backtracking algorithms
猜你喜欢

An article taught you to download cool dog music using Python web crawler

list转换map(根据key来拆分list,相同key的value为一个list)

The 4th China BIM (digital construction) manager Summit Forum will be held in Hangzhou in 2020

What are the highlights of Huawei mate 40 series with HMS?

2020-08-29: process thread differences, in addition to the inclusion relationship, the underlying details?

Flink's datasource Trilogy: direct API

Zhou Jie: database system of East China Normal University

Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing

The Interpreter pattern of behavior pattern

2020-08-19:TCP是通过什么机制保障可靠性的?
随机推荐
Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
What are the highlights of Huawei mate 40 series with HMS?
The memorandum model of behavior model
September 9, 2020: naked writing algorithm: two threads print numbers 1-100 in turn.
How to start the hidden preferences in coda 2 on the terminal?
JVM class loading mechanism
The use of Xunwei imx6 development board device tree kernel menuconfig
Open source a set of minimalist front and rear end separation project scaffold
Windows 10 蓝牙管理页面'添加蓝牙或其他设备'选项点击无响应的解决方案
[doodling the footprints of Internet of things] Introduction to Internet of things
Metersphere developer's Manual
Code generator plug-in and creator preform file analysis
Junit测试出现 empty test suite
Js字符串-String字符串对象方法
Message queue - Analysis
Application insights application insights use application maps to build request link views
Es create a new index database and copy the old index library, practice pro test effective!
2020-08-14:数据任务的执行引擎用的哪些?
WebAPI接口设计:SwaggerUI文档 / 统一响应格式 / 统一异常处理 / 统一权限验证
2020-08-19:TCP是通过什么机制保障可靠性的?