Winnovative Excel Library

ExcelChartsCollectionAddChart Method (ExcelChartType)

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 to the collection without specifying the data source range. The location and the size of the chart inside the worksheet are the default ones.

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public ExcelChart AddChart(
	ExcelChartType chartType
)

Parameters

chartType
Type: Winnovative.ExcelLibExcelChartType
The chart type

Return Value

Type: ExcelChart
The newly created chart
See Also

Reference