当前位置:网站首页>How does varhart xgantt represent working days on a calendar

How does varhart xgantt represent working days on a calendar

2020-11-06 22:22: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 .

Last time we discussed .NET Gantt Control after the use of layers and filters , We are now focusing on another area , This will make your Gantt from “ appearance ” To “ Feeling ”( The interaction between users and data ) Point of view . therefore , Let's first take a look at the calendar and how to mark non working hours in an event .

Use the calendar

By default ,XGantt The calendar used defines 5 Days a week , The working hours are from Monday to Friday 0-24 Hours . The calendar can be used by color ( for example , gray ) Highlight free time in the background of the Gantt Chart .

Using_Calendars_Default

Click to go to “ Specify the calendar ” In the dialog box   Edit the default calendar   Button_Edit2 . Besides , The button_new Button allows you to create a new calendar . such , You can define different calendars for different shifts ... And apply them to different resources , Resource groups and even tasks .

指åšæ—¥åŽ†

Now? , We want to 2015 year 5 month 1 A day is defined as a non working day . By clicking Button opens “ Management interval ” Dialog box , then   Button_Edit2 single click button_new To add an interval NewInterval. New intervals have a profile by default , therefore   In our particular situation , There is no need to make any changes . Enter the start and end dates according to the following screen shots , Then click OK to confirm .

Administrate_Intervals

in order to   Show free time ,  You must be in EditTimeScaleSection Activate the desired calendar in the dialog box :

  1. open “ object ” Property page , And then choose “  Time scale ...”.
  2. single click   Button_Edit2 To open EditTimeScaleSection Dialog box .
  3. Set as shown in the figure .

CalendarGridSetting

Omit specific calendars , This is the choice indicated by < Not specified > entry , That is, through the calendar device marked in a red triangle SpecifyCalendars  Dialogue will be used . Take a look at the results :

Calendars_Result

Mark non working intervals in activities

By setting the non working interval layer option , Can display the visual interruption of non working intervals to activities   . however , Only if the event depends on the calendar , This option only works . To link a node to a calendar , Options can be set   Nodes use calendars . If there is no other designation , The default calendar will be used .

Layers_with_nonWork_Intervals

give the result as follows :

not checked LayersWithNonWorkInterval

Layers_not_checked

Check for non working interval layers :

Layers_checked

版权声明
本文为[roffey]所创,转载请带上原文链接,感谢