property Chart.ShowNonworkingUnits as Boolean
Retrieves or sets a value that indicates whether the non-working units are visible or hidden.

 TypeDescription 
   Boolean A Boolean expression that specifies whether the non-working units (  hours or days ) are visible or hidden.  
By default, the ShowNonworkingUnits property is True. In other words, by default the control displays the non-working units. Use the NonworkingHours property to specify the non-working hours in your chart. Use the NonworkingDays property to specify the non-working days. Use the ShowNonworkingUnits property to display ONLY working units. For instance, you can display for each day the hours from 08:00 AM to 04:00PM, as the other hours ( non working hours ) are not displayed in the chart.

The following screen shot shows ONLY working hours from 08:00 AM to 12:00 PM ( ShowNonworkingUnits property is False ) :

The following screen shot shows with a different pattern the non-working hours ( ShowNonworkingUnits property is True ) :

The ShowNonworkingUnits property has no effect if the NonworkingHours and NonWorkingsDays properties are 0.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.