when loading the new data to the canvas, the old charts instance is not cleared at all the time.
when trying to use the destroy, getting an error:
ERROR TypeEr