add_auto_shape_in_chart method

add_auto_shape_in_chart

Adds a AutoShape to the chart.

Returns

Returns a shape object.

def add_auto_shape_in_chart(self, type, top, left, height, width):
    ...
ParameterTypeDescription
typeAutoShapeTypeAuto shape type.
topintRepresents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area.
leftintRepresents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area.
heightintRepresents the height of textbox, in units of 1/4000 of the chart area.
widthintRepresents 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