Consolidate datapoints if the count over a limit

Consolidate datapoints over whole period when the datapoints would
exceed the pixel width of the graph, thus saving network bandwidth on
browser work.