ExcelChartWorksheetsCollectionAddChartWorksheet(ExcelChartType, String) Method
Use this type of constructor when the series will be manually added to the chart, otherwise use the constructor accepting the data source range parameter.
Adds a new chart worksheet with the specified name to the collection without specifying the data source range.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 14.0.0
public ExcelChartWorksheet AddChartWorksheet(
ExcelChartType chartType,
string worksheetName
)
- chartType ExcelChartType
- The chart type
- worksheetName String
- The name of the chart worksheet.
ExcelChartWorksheetThe newly created chart