Skip to content

Function: addShape() ​

ts
function addShape(chart, shape): Promise<Chart>;

Append shape to layout.shapes (one relayout).

Parameters ​

ParameterType
chartChart
shapeShapeOptions

Returns ​

Promise<Chart>

Released under the MIT License.