ExcelChartsCollectionAddChart(ExcelChartType) 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 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.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public ExcelChart AddChart(
ExcelChartType chartType
)
Public Function AddChart (
chartType As ExcelChartType
) As ExcelChart
public:
ExcelChart^ AddChart(
ExcelChartType chartType
)
member AddChart :
chartType : ExcelChartType -> ExcelChart
- chartType ExcelChartType
- The chart type
ExcelChartThe newly created chart