
## add_auto_shape_in_chart(self, type, top, left, height, width) {#aspose.cells.drawing.AutoShapeType-int-int-int-int}

Adds a AutoShape to the chart.


### Returns 


Returns a shape object.


```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.drawing.AutoShapeType | Auto shape type. |
| top | int | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
| left | int | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
| height | int | Represents the height of textbox, in units of 1/4000 of the chart area. |
| width | int | Represents the width of textbox, in units of 1/4000 of the chart area. |
### Remarks

The type could not be Chart/Comment/Picture/OleObject/Polygon/DialogBox


### See Also
* module [`aspose.cells.drawing`](../../)
* class [`Shape`](/cells/python-net/aspose.cells.drawing/shape)
* class [`ShapeCollection`](/cells/python-net/aspose.cells.drawing/shapecollection)
