Fixed the 12:00 pm issue and used percentage for chart width in css.