added animation to line chart