
## add_shape_in_chart(self, type, placement, left, top, right, bottom) {#aspose.cells.drawing.MsoDrawingType-aspose.cells.drawing.PlacementType-int-int-int-int}

Add a shape to chart .All unit is 1/4000 of chart area.



```python

def add_shape_in_chart(self, type, placement, left, top, right, bottom):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.drawing.MsoDrawingType | The drawing type. |
| placement | aspose.cells.drawing.PlacementType | the placement type. |
| left | int | In unit of 1/4000 chart area width. |
| top | int | In unit of 1/4000 chart area height. |
| right | int | In unit of 1/4000 chart area width. |
| bottom | int | In unit of 1/4000 chart area height. |


## add_shape_in_chart(self, type, placement, left, top, right, bottom, image_data) {#aspose.cells.drawing.MsoDrawingType-aspose.cells.drawing.PlacementType-int-int-int-int-bytes}

Add a shape to chart .All unit is 1/4000 of chart area.



```python

def add_shape_in_chart(self, type, placement, left, top, right, bottom, image_data):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.drawing.MsoDrawingType | The drawing type. |
| placement | aspose.cells.drawing.PlacementType | the placement type. |
| left | int | In unit of 1/4000 chart area width. |
| top | int | In unit of 1/4000 chart area height. |
| right | int | In unit of 1/4000 chart area width. |
| bottom | int | In unit of 1/4000 chart area height. |
| image_data | bytes | If the shape is not a picture or ole object,imageData should be null. |



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