# Visual Builder - Value for template that matches auto-scaled interval

**URL:** <https://discuss.elastic.co/t/visual-builder-value-for-template-that-matches-auto-scaled-interval/252793>\
**Category:** Kibana\
**Created:** [October 21, 2020, 7:52am UTC](https://discuss.elastic.co/t/visual-builder-value-for-template-that-matches-auto-scaled-interval/252793 "2020-10-21T07:52:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcus\_Webb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcus_webb/32/74092_2.png) [@Marcus\_Webb](https://discuss.elastic.co/u/Marcus_Webb)\
**Post date:** [October 21, 2020, 7:52am UTC](https://discuss.elastic.co/t/visual-builder-value-for-template-that-matches-auto-scaled-interval/252793/1 "2020-10-21T07:52:42Z")

</div>

Hi There

Hoping someone can help - in Visual Builder there's a Template field to allow you to change or manipulate the values in the Legend on the graph. I'd like to be able to put an auto-scaling value in there which is based on the value in the Interval box - particularly useful when this reads "auto" as a value. For example, if someone's looking at the graph for the last 15 minutes then it's going to be seconds, whereas if someone looks at a graph for the last 24 hrs it's likely to be in 10 minute intervals. Is there a mustache command or series of mustache values that can be used to determine what the basis for the value is?

e.g. `{{value}} / {{IntervalAutoValue}}`

Kind Regards  
Marcus Webb

---

<div class="post-metadata">

**Author:** ![monfera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/monfera/32/26467_2.png) [@monfera](https://discuss.elastic.co/u/monfera)\
**Post date:** [October 22, 2020, 11:37am UTC](https://discuss.elastic.co/t/visual-builder-value-for-template-that-matches-auto-scaled-interval/252793/2 "2020-10-22T11:37:44Z")

</div>

Hello Marcus, I don't think there's any such variable available, please consider putting in an enhancement request [in the repo](https://github.com/elastic/kibana), mentioning TSVB. Some examples or mocks would be useful, because, while sometimes there'd be no ambiguity (eg. if the filter is an intra-hour one, then numbers can mean minutes) there are situations where the meaning of numbers would be ambiguous to the viewer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 19, 2020, 11:37am UTC](https://discuss.elastic.co/t/visual-builder-value-for-template-that-matches-auto-scaled-interval/252793/3 "2020-11-19T11:37:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
