参考: http://www.cnblogs.com/rumeng/p/3785748.html http://www.cnblogs.com/libla/p/5824296.html#3818995 结果: 首先新建一个winform程序,然后加一个button, 之后双击button1,进入代码区域,输入下面的代码: using OfficeOpenXml; using OfficeOpenXml.Drawing; using OfficeOpenXml.Drawing.Chart; usi…