如何用C#在Excel中生成图表?,如何用C#在Excel中生成图表?
【 tulaoshi.com - ASP.NET 】
exc.Charts.Add(Missing,Missing,1,Missing); exc.ActiveChart.ChartType=Excel.XlChartType.xlColumnClustered; exc.ActiveChart.SetSourceData(worksheet.get_Range("A1","B10"),Excel.XlRowCol.xlColumns); exc.ActiveChart.Location(Excel.XlChartLocation.xlLocationAsObject,"sheet1"); exc.ActiveChart.HasTitle=true; exc.ActiveChart.ChartTitle.Text="图表名称"; exc.ActiveChart.HasDataTable=false;来源:http://www.tulaoshi.com/n/20160129/1489228.html
看过《如何用C#在Excel中生成图表?》的人还看了以下文章 更多>>