function addShape(chart, shape): Promise<Chart>;
Append shape to layout.shapes (one relayout).
shape
layout.shapes
relayout
chart
Chart
ShapeOptions
Promise<Chart>
Promise