Fix missed duration for animating the bar chart stroke