当前位置:网站首页>How to use Gantt chart layers and filters
How to use Gantt chart layers and filters
2020-11-06 22:27:00 【roffey】
Gantt Chart (Xgantt) from 1998 The first commercial version of the year was devoted to the research and development of control for planning and project management , after 20 Years of accumulation and precipitation , At present, it can provide software developers and end users with top-level planning and project management control products , Help users quickly integrate the Gantt chart needed by project management software , Network diagram , Resource histogram , Calendar , Resource scheduling and other functional modules , And provide a full range of support and services .
VARCHART XGantt Is a powerful Gantt chart control , Its modular design allows you to create applications that meet your needs .XGantt Can be used for .NET,ActiveX and ASP.NET Applications , Can quickly 、 Simply integrate into your application , Help you identify performance bottlenecks 、 Avoid delays and efficient use of resources , Make complex data easier to understand .
Do you know how we use VARCHART XGantt Develop a series of powerful visual planning applications ? If you follow all the steps , So now you'll have a fairly comprehensive Gantt Applications : You have installed our .NET Gantt Control , Already using the sample library , Data has been loaded into the control , You know how to change time units and modify time ranges , And it's possible to construct Gantt charts by creating groups ( As mentioned in the previous blog post ).
Using the layer
A layer is a graphical representation of a pair of dates . Besides , The same pair of dates can be displayed on multiple layers . logically , Different layers are stacked in a pile .
In our example , We will now create another layer that looks different .
1. stay “ object ” On the property page , choice “ Layers ...”. Will pop up “ Specify the appearance of the bar ” Dialog box . You will notice Task The layer has been created .
2. Create a new layer by clicking the appropriate button Button_Create_New .
3. Now you have to modify the new layer . So , Please click on the “ New layer ”, And then click Button_Edit2 .“ Editing layer ” The dialog will open .
4. Please put “ shape ” Change to down arrow ,“ background ” Change the color to yellow .
1. By clicking “ determine ”, You will return to “ Specify the appearance of the bar ” Dialog box .
2. If you click the preview column of the corresponding field , Then each layer of the node will be displayed in the preview below . The red triangle instead of the green triangle means that the layer is displayed in the preview window below .
3. In our programming example , Changes to the definition show the following results :

Use filters
Next , We want only if the node is a milestone ( That is, the duration of the activity is equal to 0) The yellow arrow is displayed only when .
Using filters can easily solve this problem . A filter consists of a series of link conditions , These conditions lead logically to / No sentence .
Layers are always linked to filters . Only if the evaluation result of filter condition is “ yes ” when , The corresponding layer is visible . By default, filters assigned to layers always return “ yes ”. For our example , You need two filters , Each filter contains a condition :
?? If it lasts = 0, A yellow arrow will appear
?? If it lasts > 0, A blue bar will appear
- stay “ object ” Property page On , single click “ filter ” Button , This will pop up “ Manage filters ” Dialog box .
- Now? , Please create two new filters by clicking Button_Create_New.
- In the name column , take “ NewFilter” and “ NewFilter1” Rename it to “ Milestone” and “ Activity”.
- Please click on the “ application ” Confirm the change .

1. Select filter “ Milepost ”, Then click to open the dialog “ Edit filter ” Button_Edit2 .
2. choice “ The duration of the ” As the field name , Selection operator “ be equal to ” And choose the comparison value 0

1. Click OK to exit the dialog box .
2. choice “ Activities ”, Then click again to go to “ Edit filter ” Dialog box .
3. choice “ The duration of the ” As the field name , Put the operator “ Greater than ” Select as the comparison value 0.

1. Click OK to confirm .
1. Click OK to close the dialog box , then Return to the property page .
2. In order to put the filter into operation , It needs to be assigned to layers . So , Please click on the “ layer … ” Button to turn on “ Specify the appearance of the bar ” Dialog box .

1. If you run the program now , And the duration of the first activity is set to 0, The results are as follows :

版权声明
本文为[roffey]所创,转载请带上原文链接,感谢
边栏推荐
- Code generator plug-in and creator preform file analysis
- August 18, 2020: introduce Mr process?
- 20个XR项目路演,近20个资本机构出席!诚邀您参加2020 Qualcomm XR生态合作伙伴大会
- JVM memory allocation - xms128m - xmx512m - XX: permsize = 128M - XX: maxpermsize = 512M
- STM32F030C6T6兼容替换MM32SPIN05PF
- Jenkins installation and deployment process
- WebAPI接口设计:SwaggerUI文档 / 统一响应格式 / 统一异常处理 / 统一权限验证
- C language I blog assignment 03
- The memorandum model of behavior model
- Stm32f030c6t6 compatible to replace mm32spin05pf
猜你喜欢

心理咨询app开发所具备的优点与功能

迅为-iMX6ULL开发板上配置AP热点
![[graffiti Internet of things footprints] panoramic introduction of graffiti cloud platform](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[graffiti Internet of things footprints] panoramic introduction of graffiti cloud platform

C and C / C + + mixed programming series 5 - GC collaboration of memory management

Cloudquery v1.2.0 release

Countdown | 2020 PostgreSQL Asia Conference - agenda arrangement of Chinese sub Forum
![[elastic search engine]](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[elastic search engine]

Jenkins installation and deployment process

预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用

轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
随机推荐
Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)
Es create a new index database and copy the old index library, practice pro test effective!
C and C / C + + mixed programming series 5 - GC collaboration of memory management
The Interpreter pattern of behavior pattern
Ora-02292: complete constraint violation (midbjdev2.sys_ C0020757) - subrecord found
2020-09-04: do you understand the function call convention?
Call analysis of start method in JNI thread and callback analysis of run method
10000! Ideal car recalls all defective cars: 97 accidents have occurred and losses will be expanded
小程序商城系统插件代码该如何写?怎么用代码检查添加插件是否成功?
超高频RFID医疗血液管理系统应用
Interviewer: how about shardingsphere
Composition of MRAM cache
Epu360: all the H5 templates you want are here, e-book, big turntable, red envelope rain, questionnaire survey
2020-08-29: process thread differences, in addition to the inclusion relationship, the underlying details?
Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
The use of Xunwei imx6 development board device tree kernel menuconfig
The memorandum model of behavior model
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
2020年新规,微信封号怎么快速解除?
vue3 新特性