property Chart.ShowEmptyBarsUnit as UnitEnum
Specifies the unit to be added to the end date, so empty bars are shown.
An UnitEnum expression that indicates the time unit being added to each bar, when the
property is not zero.
By default, the ShowEmptyBarsUnit property is exDay. This property has effect only, if the
property is not zero. For instance, if your chart displays seconds, the ShowEmptyBarsUnit property must be set on exSeconds, else else if the ShowEmptyBars property is 1, the ending date for each bar is not show correctly, as 1 day is added to a second. For instance, if the ShowEmptyBars property is 1 and ShowEmptyBarsUnit is exDay, a task bar from
shows two days, else if the ShowEmptyBars property is 0, the same task bar highlights only a single day. Use the
method to assign a bar to an item. Use the
(exBarEnd) properties to specify the start and end dates for a bar.
Send comments on this topic.
. All rights reserved.