GrapeCity Documents for Excel, .NET Edition, is a fast, efficient spreadsheet API that enables you to generate, load, modify, and save spreadsheets in your .NET Standard 2.0 app. With GcExcel, you can parse, convert, and share spreadsheets, calculate formulas and format cells, then deploy to Azure and AWS.
Import the necessary namespaces.
Then initialize the workbook.
Next, we’ll add our data and assign it to a range in the worksheet.
Next, create a table and add the range of data to the table.
Add a formula to sum up the columns.
Add a sparkline to column K. Specify the sparkline type and pass along the source data.
Finally, save the workbook. When we open the spreadsheet, we’ll see that the sparklines have been added in column K.
With GcExcel, you can command total control of your spreadsheets—with no dependencies on Excel.
If you have a comment or question about this tutorial, please leave your comments in the thread below.