Timelion variable generator

I'm trying to create a very simple anomaly detector in timelion which basically colors the graph RED when the count crosses a number threshold. For eg, if the count is above 800, it plots a fill-line graph which makes that part of the graph red.

I was wondering if there is a way I can use 'Controls' or something else where I enter a number, and then that is transferred to the timelion and is used as the new threshold.

Please see the "Track used memory" example in the documentation. I think this will guide you to the answer.

Right, I have used a few of the techniques under that section, but I still don't understand how to dynamically choose a threshold, without actually going into timelion. I was wondering if there's a way to give a number as a control on the dashboard, which gets translated into the threshold in timelion.

I understand now. Sorry, I don't believe this is possible.