The plugin needs to check if the field "controller" is valid before setting value.
Because getDatasetMeta() function will return data filled with null if canvas of chartjs is detached from DOM.
e.g.> A component using chartjs is detached from DOM but still alive
The plugin needs to check if the field "controller" is valid before setting value. Because getDatasetMeta() function will return data filled with null if canvas of chartjs is detached from DOM.
e.g.> A component using chartjs is detached from DOM but still alive