RadiantQ Forum

Product => WPF Gantt Package => Topic started by: michael.fried on October 10, 2014, 02:18:07 PM

Title: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
Post by: michael.fried on October 10, 2014, 02:18:07 PM
Dear RadiantQ support team,

I'm facing an issue with bar rendering when using the example project FGTemplatizedForWorkingHours4.5 and setting the following property

<view:FGWorkingHoursBar ...
TasksDontStartAndEndInNonWorkingTime="True">

The non working times and end times are not rendered correctly for some bars (shifted or cut off).

Is it possible at all to use view:FGWorkingHoursBar together with TasksDontStartAndEndInNonWorkingTime="True"?

Kind regards,
Michael
Title: Re: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
Post by: ForumAdmin on October 13, 2014, 07:15:59 PM
Michael,

This does in fact seem to be an issue in our Source. We will probably get rid of this property TasksDontStartAndEndInNonWorkingTime as we will have to render the bars similarly for both the cases.

So, you can simply set this to false for now to workaround this issue.

Thanks
Support
Title: Re: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
Post by: michael.fried on October 14, 2014, 07:49:34 AM
Thanks for the quick answer.

So, just for clairification, this means that my options are either not using FGWorkingHoursBar (since the property TasksDontStartAndEndInNonWorkingTime works for "regular bars") or performing a manual check to disable bars from being started and ended within non working hours? If you get rid of the property, do you plan on making the TasksDontStartAndEndInNonWorkingTime="True" or "False" standard behaviour for FGWorkingHoursBar.

Kind Regards,
Michael
Title: Re: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
Post by: ForumAdmin on October 14, 2014, 03:19:59 PM
Michael,

No, you should continue to use the FGWorkingHoursBar to highlight/differentiate the working-hours from non-working hours.

So, once we get rid of the bars we will render both the scenarios (whether or not the tasks start in non-working time or not) the same way - and this would be similar to how we render now with TasksDontStartAndEndInNonWorkingTime = false. The current "true" setting is not only buggy, but was also unnecessary, so we will remove it.

Thanks
RadiantQ Support