Clean up and generate chart code mirroring sample created by Microsoft
Office 2011 for Mac.