Dashboard metrics

This is the PR for the dashboard/channel metric graphs
This should infact be removed. Its an old function i merged into one with a name change. Will remove this comment out code