refactored charting logic for decreased JS on the client
changed last date pushed to number of pushes