Help with Heart Rate on Watch Face

What is the best method to show the heart rate on a watch face? Can someone point me in the right direction?

I have selected the User Profile plus written the following code onto the view.mc file.

function onUpdate(dc) {

View.onUpdate(dc);

var actInfo  = Act.getActivityInfo();

var devStat = System.getDeviceSettings();

var heartRate = 0;

if (ActivityMonitor has :getHeartRateHistory) {

  var hrHist =  ActivityMonitor.getHeartRateHistory(1, true);

  heartRate = hrHist.next().heartRate;

} else {

  heartRate = null;

}