The attached code is an update of Mike Gold's article titled An XY Plot User Control in GDI+.