Fills in gaps in the expression with the next known value of the expression. If you specify
timeWindow, fills in a specified time period before each existing point.
|timeWindow||By default, the |
|expression||Expression in which you want to replace gaps in data with the next value.|
next() function allows you to assign the next known reported data point value to a gap of missing data. If there’s a gap, nothing happens until the first new value becomes available. Then the data is backfilled with that, the next, value. No line (dotted or solid) is drawn until the next data point is reported.
next() applies the next reported data value to gaps of missing data for up to 4 weeks. If you’d like this window to be smaller, you can use the
In the following example, we’ve zoomed in on
~sample.request.failures.num and see missing data.
We decide to replace the missing data with the last value before the gap, in this case 0.
Then we replace the missing data with the first good value after the gap using