method Items.RemoveBar (Item as HITEM, [Key as Variant])
Removes a bar from an item.
Type
Description
Item as HITEM
A long expression that indicates the the handle of the item where the bar is
removed.
Key as Variant
Optional. A String expression that indicates the key of the bar being removed.
Use the RemoveBar
method to remove a bar from an item. Use the ClearBars method to remove all
bars in the item. Use the AddBar method to add
new bars to the item. Use the Remove method to
remove a type of bar from the Bars
collection. Use the Add
method to add new types of bars to the Bars
collection. Use the FirstVisibleDate
property to specify the first visible date in the chart area. Use the Key
parameter to identify a bar inside an item. Use the ItemBar
property to access a bar inside the item. Use the PaneWidth property
to specify the width of the chart. Use the NonworkingDays
property to specify the non-working days.