I have single events that are comprised of three parts. I need to display each of the three parts on the schedule. The parts are:
1. a 10 - 20 minute warm up time,
2. a 3 - 5 hour working time,
3. and then a 10 - 20 minute cool down time.
The way I am displaying this is by using 3 events that all start back to back. So, for my test data I will create 3 events with the following times:
1. 7:59 - 8:14
2. 8:00 - 12:00
3. 12:01 - 12:16
This isn't ideal, because it is causing the Scheduler to display funky depending on how I have the various display options configured.
If you look at the attached file "daypilot-image1" you can see that I am able to make it all display evenly across a row. However, this is only working because I have hardcoded my warmup and cooldown times to be 15 minutes and set the setting:
CellDuration = 15,
If I vary from this duration, I get something that looks like Image 3 (which I will explain below)
If you look at "daypilot-image2" you can see where I have got rid of the CellDuration setting and have instead set:
UseEventBoxes = UseEventBoxesType.Never,
As you can see in that image, though, the events have gaps between the warm up, work, and cool down sections. These gaps occur even when I set the distance between the End of one and the Start of the next to be one second. If I set the End of one and the Start of the next to be the same time, you get what is in Image 3.
Image 3 is what happens if I have no CellDuration set and UseEventBoxes set to anything but Never, or if I have the schedules End and Start at the same time.
What is the best way to display what I am trying to accomplish?
Ideally, I'd like to have these three sections actually be one event. But if that is not possible, I'd like to be able to display back-to-back events with no gap between them, and no overlap issues where some of the events move to the next row.
Thanks for the help.