Custom activity charts

Sorry I just realised you were probably looking for heart rate data. You can do:

let hr42d = icu.bestHR['42d']
let best5mBpm = hr42d.getBpm(5 * 60)

Everything available is listed here.