Gantt Chart for Foundries
Details
Date:4/21/2009 4:32:54 AM
Product:ActiveGanttVB Scheduler Component
Framework:Visual Studio 6.0
Version:2.7.3
User's Development Environment:XBase++
Subject:TierDraw and Custom Drawing
Question

Your gantt looks well and is relatively easy to use, but there are some things which are out of normal, but we need it. We want to use the gant for time scheduling in foundries.

Now some questions again:

1. We have the timeline month/week/day Know I want to show only working days. Saturday, Sunday holidays should not be displayed. I tried the following solution:


ActiveGanttVBCtl1:Views:Add("30n", "1h", ST_MONTH, ST_WEEK, ST_CUSTOM, "NV")

The CustomerTierDraw is invoked for lower position (days), but if I don't set the caption, the day leaves blank and an empty section is displayed. Further the week isn't displayed anymore.

So I tried:


ActiveGanttVBCtl1:Views:Add("30n", "1h", ST_MONTH, ST_CUSTOM, ST_CUSTOM, "NV")

The CustomerTierDraw is only invoked for lower position (days) not for middle position.

2. The view has the dimension of 30 minutes/pixel. (see above) A task i.e. has 2 days, whereby at start are i.e. 45 minutes of preparation time and at end are i.e. 60 minutes for cooling time. I want to draw the task red for 45 minutes at begin and red for 60 minutes at end. Between it should be blue. The task:Add method only accepts date parameters. How I can implement time depentend behavoiur inside a task?

Answer

Answer:

1. There is a bit of confusion here, Views do not control working and non-working days. To specify non-working days use TimeBlocks instead. Another approach is to limit the time shown by using the TimeLine Scroll Bar.

2. This can be accomplished only by using drawing code.

 

All trademarks are property of their respective holders, and are only used to directly describe the products and services being provided. Their use in no way indicates any relationship or endorsement between The Source Code Store LLC and the holders of said trademarks.