0👍
First I thought that maybe I need to fetch canvas elements again and pass them somehow to the update-function if the chart-instance somehow does have miss the original canvas after removing html content and then loaded it back or something.
However I wasn’t able to figure out the solution where I update those canvases so I managed to fix the problem like this:
When returning to front page I first loop through the array of charts and remove all charts that are suppose to be in my front page(create last time when front page has been loaded). Then I create those charts again after the html content have been loaded and save those in my array of charts. Now when I start cyclic updating of those newly created charts the updating works again like a charm!