And finally,
This might be closer to what you want, but I'm pretty sure that it won't scale (if terms of configuration overhead) if you've got a lot of single panels.
You can set an eval / case statement in each single panel search to set the 'range'.
Again, this really is just a bit of a workaround to look at a different approach; probably not ideal for what you want.
But paste it into a blank dashboard and see if it helps:
<form>
<label>Test - Single Value 2</label>
<fieldset submitButton="false">
<input type="radio" searchWhenChanged="true" token="tok_level">
<label>Pick a Level to Display</label>
<choice value="all">All</choice>
<choice value="low">Healthy</choice>
<choice value="medium">Warning</choice>
<choice value="high">High</choice>
<default>All</default>
<change>
<condition match=" $value$ == $single_1_result$ ">
<set token="show_single_1">true</set>
<unset token="show_single_2"></unset>
<unset token="show_single_3"></unset>
</condition>
<condition match=" $value$ == $single_2_result$ ">
<set token="show_single_2">true</set>
<unset token="show_single_1"></unset>
<unset token="show_single_3"></unset>
</condition>
<condition match=" $value$ == $single_3_result$ ">
<set token="show_single_3">true</set>
<unset token="show_single_1"></unset>
<unset token="show_single_2"></unset>
</condition>
<condition match=" $value$ == "all" ">
<set token="show_single_1">true</set>
<set token="show_single_2">true</set>
<set token="show_single_3">true</set>
</condition>
<condition>
<unset token="show_single_1"></unset>
<unset token="show_single_2"></unset>
<unset token="show_single_3"></unset>
</condition>
</change>
</input>
</fieldset>
<row>
<panel>
<single id="single_1" depends="$show_single_1$">
<search>
<query>
<![CDATA[| makeresults
| eval test=30
| append [| makeresults
| eval test=1
| eval _time=_time-86400]
| timechart span=1d sum(test) as my_result
| eventstats latest(my_result) as latest
| eval level=case(latest<=30,"low",latest<=70,"medium",latest>=71,"high")]]>
</query>
<sampleRatio>1</sampleRatio>
<done>
<condition match=" $result.level$ == "low"">
<set token="single_1_result">low</set>
</condition>
<condition match=" $result.level$ == "medium"">
<set token="single_1_result">medium</set>
</condition>
<condition match=" $result.level$ == "high"">
<set token="single_1_result">high</set>
</condition>
</done>
</search>
<option name="colorBy">value</option>
<option name="rangeColors">["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]</option>
<option name="rangeValues">[0,30,70,100]</option>
<option name="useColors">1</option>
</single>
<single id="single_2" depends="$show_single_2$">
<search>
<query>
<![CDATA[| makeresults
| eval test=70
| append [| makeresults
| eval test=1
| eval _time=_time-86400]
| timechart span=1d sum(test) as my_result
| eventstats latest(my_result) as latest
| eval level=case(latest<=30,"low",latest<=70,"medium",latest>=71,"high")]]>
</query>
<sampleRatio>1</sampleRatio>
<done>
<condition match=" $result.level$ == "low"">
<set token="single_2_result">low</set>
</condition>
<condition match=" $result.level$ == "medium"">
<set token="single_2_result">medium</set>
</condition>
<condition match=" $result.level$ == "high"">
<set token="single_2_result">high</set>
</condition>
</done>
</search>
<option name="colorBy">value</option>
<option name="rangeColors">["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]</option>
<option name="rangeValues">[0,30,70,100]</option>
<option name="useColors">1</option>
</single>
<single id="single_3" depends="$show_single_3$">
<search>
<query>
<![CDATA[| makeresults
| eval test=101
| append [| makeresults
| eval test=1
| eval _time=_time-86400]
| timechart span=1d sum(test) as my_result
| eventstats latest(my_result) as latest
| eval level=case(latest<=30,"low",latest<=70,"medium",latest>=71,"high")]]>
</query>
<sampleRatio>1</sampleRatio>
<done>
<condition match=" $result.level$ == "low"">
<set token="single_3_result">low</set>
</condition>
<condition match=" $result.level$ == "medium"">
<set token="single_3_result">medium</set>
</condition>
<condition match=" $result.level$ == "high"">
<set token="single_3_result">high</set>
</condition>
</done>
</search>
<option name="colorBy">value</option>
<option name="rangeColors">["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]</option>
<option name="rangeValues">[0,30,70,100]</option>
<option name="useColors">1</option>
</single>
</panel>
</row>
<row>
<panel>
<title>Check Token for Condition</title>
<html>
<div>Token 'tok_level': $tok_level$</div>
<hr></hr>
<div>Token 'single_1_result': $single_1_result$</div>
<div>Token 'single_2_result': $single_2_result$</div>
<div>Token 'single_3_result': $single_3_result$</div>
<hr></hr>
<div>Token 'show_single_1': $show_single_1$</div>
<div>Token 'show_single_2': $show_single_2$</div>
<div>Token 'show_single_3': $show_single_3$</div>
</html>
</panel>
</row>
</form>
... View more