added animation to chart