reducing requested data for the chart to the last 30 days