method Items.ClearBars (Item as HITEM)
Clears the bars from the item.

TypeDescription
Item as HITEM A long expression that indicates the the handle of the item where the bars are removed. If the Item parameter is 0, the ClearBars method removes all bars from all items. In this case the DefaultItem property should be 0 ( by default ), else it refers a single item being indicated by the DefaultItem property.
Use the ClearBars method to remove all bars in the specified item. If the Item parameter is not 0 ( indicates a valid handle ), the ClearBars removes only bars in the specified item. If the Item parameter is 0, the ClearBars method removes all bars from all items, in other words from the entire chart. Use the BeginUpdate / EndUpdate methods to refresh the control's content after removing a bar or several bars.

Use the RemoveBar method to remove a bar from an 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.