
## add_floating_chart(self, type, left, top, width, height) {#aspose.cells.charts.ChartType-int-int-int-int}

Adds a chart to the collection.


### Returns 


[`Chart`](/cells/python-net/aspose.cells.charts/chart) object index.


```python

def add_floating_chart(self, type, left, top, width, height):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.charts.ChartType | Chart type |
| left | int | The x offset to corner |
| top | int | The y offset to corner |
| width | int | The chart width |
| height | int | The chart height |



### See Also
* module [`aspose.cells.charts`](../../)
* class [`Chart`](/cells/python-net/aspose.cells.charts/chart)
* class [`ChartCollection`](/cells/python-net/aspose.cells.charts/chartcollection)
