Fixed minor bug on charts when we change the year