Graph X Axis Formating

I have user data getting graphed and the X-axis displays the date while the Y-axis displays the price. The X-axis displays every date but I would like it to display a general month like the example in the second image.

How can I make the graph display like the example to be cleaner looking?