.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ChartCollection.Add Method

Name Parameters Description
Add(ChartType) chartType

Creates a chart of the specified type and adds it to the collection.

Add(ChartType, CellRange) chartType, range

Creates a chart of the specified type with data from the specified range and adds the chart to the collection.