Assume last value if none at the time

Hello, i have a graph that reports the temperature and humidity of the room! The sensors only report a value every “x” minutes and when the difference is greeter that a set threshold! This sometimes causes that my graph is not blank on the right side, because no readings are available at the moment. Is there a way to make grafana assume the current value so that my graph is always complete?

Also the same thing to the left value, so if no value is reported yet in the given time frame, assume the current for example.

Thank you

did you ever find a solution to this?
Same challenge: I have a source that only creates a datapoint when anything changes