method Chart.RemoveSelection ()
Removes the chart objects in the selection.

Use the RemoveSelection method to remove the objects ( bars, links ) in the chart's selection. For instance, call the RemoveSelection method when the user presses the Delete key.  The AllowSelectObjects property allows users to select at runtime the bars and links in the chart area. Use the ItemBar(exBarSelected) property to select or unselect programmatically a bar. Use the Link(exLinkSelected) property to select or unselect programmatically a link. The RemoveSelection method calls the RemoveBar to remove a bar from the selection, or RemoveLink method to remove a link from the selection. Call the AllowSelectObjects property to empty the selection, as  AllowSelectObjects = AllowSelectObjects.

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