Discussed in another thread is the unfortunate issue in which we can't generate a GAP in line graphs for our FIT User Data... for data that is invalid or unavailable. I have a solution that works for me. I have a metric to display Heart Rate Stress. This is relative to nominal HR values for a given sustained and steady power (watt) level. I won't go into the math and research. The point is, the metric can be from about -10 to +20 or so depending on your stress, temp, hydration level, etc. A value of ZERO means your HR matches the model or expected.
But if your power isn't steady or one of several other criteria, I can't generate a meaningful stress value. I wait until conditions are right to generate a data point. Setting it to ZERO is misleading...
So what I now do it oscillate from -0.5 to +0.5 when I'm in an invalid condition state. The graph produces a thicker bar around ZERO which means: "no valid data" during this timeframe. In my case this was a MTB ride and there were times my power level was surging and therefore my HR wasn't steady, and any stress value would be unreliable, so those are times I dropped into the oscilation mode. Also my HR Stress was in the + range because it was hot out today (over 80F) and I wasn't drinking enough. Often my HR Stress starts out in the negative range.