Deselects all selected chart elements; optionally deselects hot-tracked elements as well.
public void ClearSelection( bool clearHot )
Public Sub ClearSelection( clearHot As Boolean )
true to deselect hot-tracked elements; otherwise, false.
Use the ClearSelection method to implement custom selection of chart elements at runtime. This method deselects all the selected elements within a chart. If an element is hot-tracked, this method will unselect it if true is passed for the clearHot parameter. To set the selection state of any chart element, the ChartControl.SetObjectSelection method should be used.
To enable standard selection of chart elements by end-users at runtime, set the ChartControl.RuntimeSelection property to true.