Skip to main content
Seasoned ⭐️⭐️
August 25, 2026
Gathering Interest

【Charts】Option to draw a horizontal line from the last value up to NOW

Related products:Charts
  • August 25, 2026
  • 3 replies
  • 47 views

Hi team, 

I'd like to submit a feature request. 

Request 

In Charts, a line is only drawn up to the point where a value is registered in the time series. I'd like an option to draw a horizontal line from the last value up to the current time (NOW). 

This is especially an issue in calculations. When a formula uses multiple time series that are registered in CDF at different times, the series that ends earlier is plotted only up to its last value, so the calculation result is cut off there. I'd like to avoid this. 

Example

Given two time series Ts_long (up to today) and Ts_short (up to 2025/04/01), using them as calculation sources pulls the output toward the Ts_short time axis, so nothing is displayed after 2025/04/01.

Reference 

テスト Copy(工務 久保田) | Cognite Data Fusion

Cognite Hub

3 replies

Shun Takase
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
August 25, 2026

I’d definitely like to see this feature added as well.

This might not quite meet ​@Kubota Mami san request, but if you want to pad the data with zeros from the last value to the current time, you could try the following method:

①: Set an appropriate granularity and “0” in the “constant value” function under “signal generator.”

②: Connect the time series you want to pad, the setting from step ①, and the output to the “Union” function in the “Operators” section

This will ensure that intervals where time series data is missing on one side are padded with zeros. (I’ve attached a screenshot for reference.)
 

I also considered a method using the last value, but I couldn’t come up with a good idea…

I hope this is helpful in some way.

Seasoned ⭐️⭐️
August 27, 2026

@Shun Takase san,
 

Thank you so much for taking the time to share such a detailed suggestion — and for even attaching a screenshot, which was really helpful! I wasn't aware of the zero-padding method, so I genuinely learned something new.

Let me just add a small clarification. What I'm hoping to achieve is a little different: rather than padding with zeros, I'd like to hold the last value and extend it horizontally up to the current time (NOW).

With zero-padding, when the series is used in a calculation the result gets pulled toward 0, so the output ends up far from the actual value — and that's the part I'd like to avoid. Ideally, I'd like to keep the most recent value and extend the line from there.

To Cogntie  team,

If you happen to know a good way to achieve a "last value hold," I'd be very grateful if you could share it. Thank you as always for your kind help and support!

Shun Takase
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
August 31, 2026

@Kubota Mami san,

I was looking for a way to preserve the last value while extending the data, and I found one method that seemed promising, so I’d like to share it with you.

① Apply the “Get index of time series” function to the time series for which timestamps exist up to the current time.

② Place the “Reindex” function, setting the time series with timestamps that stop in the past as the top one (the first time series) and the time series created in step ① as the bottom one (the second time series).

③ Set the “Reindex” function settings to

 Method: Zero

 Type: pointwise

This procedure seemed to preserve the last value. I’ve attached a screenshot for reference

(There may be other methods, and this procedure might include some unnecessary processing…)

However, even with this method, it seems an error will occur unless you ensure that the last value of the time series with a timestamp that has stopped in the past falls within the Charts’ rendering range.

Personally, even if this procedure works, I find it extremely tedious, so I’d like to see a feature that allows this to be achieved with a single operator.

I hope this is of some help.