This does not meet with the request however on a picture it does.
Assume it’s a time series and the data increases with not a certain frequency, not like the above example is simple increases only one by one. But I want to compare the red data points with the blue one and if there’s no value in the other red one, go with a straight line instead of going linear…
That means comparing them with each other.
It is also hard to pre-assume how many different series I will have as it depends on the user’s query.