Resolves with the MAIDR data once the chart has finished drawing and
MAIDR has been bound to it for the first time. The data is marked
live: true. Rejects when the chart could not be converted, or when
dispose() is called before that first binding. For a chart that is
never rendered it stays pending, with a console warning once the time
the chart had to draw has passed; it resolves if the chart is rendered
later.
Stops following the chart and takes MAIDR off it: removes the event
listeners, cancels a pending rebind, puts back the container width the
binding was setting, and, once MAIDR has been mounted, removes the
maidr-data attribute and dispatches maidr:unbindchart so the mounted
instance is torn down -- as the ECharts adapter's cleanup does -- and
removes the hidden box and candle parts it drew. Call it
before chart.destroy() when a page removes the chart.
The handle bindApexCharts returns.