Grouping Monthly Sales in Bars

How should configure a dashboard so I can display monthly sales in a bar graph? I have a PostgreSQL database with a table that has sales and datetime stamps. It looks like the bars encompass more than one month at a time. So a bar for April (2019-04-01) would display data that includes March.
This is what I have so far: