implement chart#elapsed