Added some of the chart functionality for dashboard