2020年9月21日 星期一

使用 epplus 加入圖表

以折線圖為例
var chart = sheet.Drawings.AddChart("圖表1", eChartType.Line);
var series= (ExcelLineChartSerie)chart.Series.Add(sheet.Cells[2,2,100,2], sheet.Cells[2,1,100,1]);
series.HeaderAddress = sheet.Cells[1, 2];
            

沒有留言:

自訂權限驗證機制

// 使用 filter [Route("api/[controller]")] [ApiController] [Authorize] [TypeFilter(typeof(CustomAsyncAuthorizationFilter))] public c...