added the functionality for rendering the month chart