Using clone (with override) Function.
Click the button below the chart to clone the existing chart and render an area chart in another container
The above sample showcases how to use clone function in JavaScript. Click here to know more on how the code of this example works.