Winnovative Excel Library

ExcelChartWorksheetsCollectionAddChartWorksheet Method (ExcelChartType, String)

Winnovative Excel Library Documentation
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.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public ExcelChartWorksheet AddChartWorksheet(
	ExcelChartType chartType,
	string worksheetName
)

Parameters

chartType
Type: Winnovative.ExcelLibExcelChartType
The chart type
worksheetName
Type: SystemString
The name of the chart worksheet.

Return Value

Type: ExcelChartWorksheet
The newly created chart
See Also

Reference