How to Change the Activity Monitor Icon

For those of you that use Activity Monitor, there is a great little way to be able to change the view of what it shows in the Dock.
Simply right click on the dock icon while it is running, choose Dock Icon and then toggle between CPU Usage, CPU History, Network Usage, Disk Activity or Memory Usage!