ExchangePenPositions Method Example

The following example sets the location of the Pen in position 1 to position 3 in the Pens collection.

Chart1.ExchangePenPositions 3, 1