If you’re using a Mi Band 2 as your heart rate sensor, you need to take an extra step before recording data with Heart Graph.
Open the Mi Fit app, and start a workout:
This will cause the Mi Band 2 to start collecting frequent, regular heart rate samples (e.g., every 5 seconds), which will then allow Heart Graph to create a smooth graph for your workout.