API REFERENCE

typeLoadChange

Every change of the chart type's load state: loading, ready, or why the type cannot be drawn .

Definition

Event name: typeLoadChange. Names are case-sensitive. Read the payload from detail on CustomEvent<ChartTypeLoadDetail>.

javascript
chart.addEventListener('typeLoadChange', event => {
  console.log(event.detail); // ChartTypeLoadDetail
});