Fixes a couple errors when there isn't enough data to display graphs

* If no Mertrics at all are defined, display an error message with links to add Metrics and records
* If no records exist for a given day of week, avoid a division by zero.