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: ExpertXls.ExcelLibAssembly: expertxls (in expertxls.dll) Version: 9.0.0
Syntaxpublic ExcelChartWorksheet AddChartWorksheet(
ExcelChartType chartType,
string worksheetName
)
Public Function AddChartWorksheet (
chartType As ExcelChartType,
worksheetName As String
) As ExcelChartWorksheet
Parameters
- chartType ExcelChartType
- The chart type
- worksheetName String
- The name of the chart worksheet.
Return Value
ExcelChartWorksheetThe newly created chart
See Also