Hello!
I would like to have timechart span configurable from the dashboard UI (e.g. via using dropdown field values), but I am not sure, how to set it up. Any help would be much appreciated!
I have done it with a radio button group but a dropdown would work just as well
<input type="radio" token="span">
<label>Bucket size</label>
<choice value="1d">Daily</choice>
<choice value="1h">Hourly</choice>
<initialValue>1d</initialValue>
<default>1d</default>
</input>
Also, I have used a bin command, but timechart span=$span$ would work too.
| bin _time span=$span$
I have done it with a radio button group but a dropdown would work just as well
<input type="radio" token="span">
<label>Bucket size</label>
<choice value="1d">Daily</choice>
<choice value="1h">Hourly</choice>
<initialValue>1d</initialValue>
<default>1d</default>
</input>
Also, I have used a bin command, but timechart span=$span$ would work too.
| bin _time span=$span$