Dashboard metrics

This is the PR for the dashboard/channel metric graphs
I need to find a way around this. When my functions call this function in the test it breaks because the element doesnt exist. I will look into more structure functions