made months on x axis dynamic