Timelion baseline with min() and static()?

Is there a way to create a timeseries where i get the minimum value and set him as static?
I would like to trace a baseline (straight line with the minimum value found in the timeframe)
Using the static() only accept a number and not a timeseries. And if I use min() with the timeseries the min and timeseries will be the same)

Currently, there is no way to do that. But that's a good idea, perhaps file an issue here: https://github.com/elastic/timelion/issues

Functions are pretty easy to add, so feel free to contribute a PR if this is important to you!