ChartCollectionAddFloatingChart 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 AddFloatingChart(
	ChartType type,
	int left,
	int top,
	int width,
	int height
)

Parameters

type
Type: Aspose.Cells.ChartsChartType
Chart type
left
Type: SystemInt32
The x offset to corner
top
Type: SystemInt32
The y offset to corner
width
Type: SystemInt32
The chart width
height
Type: SystemInt32
The chart height

Return Value

Type: Int32
Chart object index.
See Also