Add a series to the chart after render time.
Note that this method should never be used
when adding data synchronously at chart render time,
as it adds expense to the calculations and rendering.
When adding data at the same time as the chart is initialized,
add the series as a configuration option instead. With multiple axes,
the offset is dynamically adjusted.
Removes the chart and purges memory.
This method should be called before writing a new chart into the same container.
It is called internally on window unload to prevent leaks.
Reflows the chart to its container.
By default, the chart reflows automatically to
its container following a window.resize event,
as per the chart.reflow option. However, there are no reliable events for div resize,
so if the container is resized without a window resize event,
this must be called explicitly.
Resize the chart to a given width and height.
In order to set the width only, the height argument may be skipped.
To set the height only, pass undefined for the width.