Timeseries adding average, min max

Hi folks,

Is there a way I can display a mean and a max line on the graph below?
I want it to display that for the period selected.
I am using Influx as a source.

you can display the mean and max in the legend, which Grafana will calculate for you, but in order the plot full graphs, that would need to be query-based somehow. Prometheus might be better at this kind of thing…