Add in some of the chart functionality for auto rendering of the chart. (note that the auto load of the chart js is not functioning. Seems to throw an error. Need to investigate that further)