Bar chart updating fine. Memory leaked solved.