Fix bug on timeline chart