You are able to choose whether you want the z-value to be drawn in the longitudinal profile or not by checking the box in the settings. Se picture below