ExcelChartWorksheetsCollectionAddChartWorksheet Method (ExcelChartType, String) |
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.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public ExcelChartWorksheet AddChartWorksheet(
ExcelChartType chartType,
string worksheetName
)
Public Function AddChartWorksheet (
chartType As ExcelChartType,
worksheetName As String
) As ExcelChartWorksheet
Parameters
- chartType
- Type: ExpertXls.ExcelLibExcelChartType
The chart type - worksheetName
- Type: SystemString
The name of the chart worksheet.
Return Value
Type:
ExcelChartWorksheetThe newly created chart
See Also