Cancels the selection for the chart.

expression.DeselectexpressionRequired. An expression that returns a Chartobject.

Example

This example is equivalent to pressing ESC while working on the chart. The example should be run on a chart that has a component (such as an axis) selected.

myChart.Deselect