ChartCollectionAdd Method

Adds a chart to the collection.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public int Add(
	ChartType type,
	int upperLeftRow,
	int upperLeftColumn,
	int lowerRightRow,
	int lowerRightColumn
)

Parameters

type
Type: Aspose.Cells.ChartsChartType
Chart type
upperLeftRow
Type: SystemInt32
Upper left row index.
upperLeftColumn
Type: SystemInt32
Upper left column index.
lowerRightRow
Type: SystemInt32
Lower right row index
lowerRightColumn
Type: SystemInt32
Lower right column index

Return Value

Type: Int32
Chart object index.
See Also