Added controller logic to retrieve one week to one year's data for displaying in metric detail page, added heart rate trend view to detail page