bug(graphs.graph) Fixes inconsistencies with the min/max/avg values and refactored graph.js

Fixes bug by removing all the logic to convert 'x' values to utc dates.
Refactored graph.js to move logic to calculate xExtents and yExtents to dataCollection