First pass at html graph for history.
Got the data format for the graph to work.
Insert actual history data into the template.