# Vega: Signal resets to initial value after refreshing the dashboard

**URL:** https://discuss.elastic.co/t/vega-signal-resets-to-initial-value-after-refreshing-the-dashboard/138263
**Category:** Kibana
**Created:** [July 2, 2018, 7:27pm UTC](https://discuss.elastic.co/t/vega-signal-resets-to-initial-value-after-refreshing-the-dashboard/138263 "2018-07-02T19:27:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vega\_user](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vega\_user](https://discuss.elastic.co/u/vega_user)
#### Post date: [July 2, 2018, 7:27pm UTC](https://discuss.elastic.co/t/vega-signal-resets-to-initial-value-after-refreshing-the-dashboard/138263/1 "2018-07-02T19:27:27Z")

</div>

Hello everyone,  
I integrated this signal into my Vega visualization:

```auto
       "signals": [
            {
              "name": "minNumberClicks",  
              "value":1, 
              "bind": {"input": "range", "min": 1, "max": 100, "step": 1}
            }
         ]

```

When I (auto)refresh the dashboard, the signal resets to the initial value. When I delete the "value" specification, it resets to undefined. Is there any way to maintain the value of the signal after a refresh?

Thanks,  
Anna

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 2, 2018, 7:30pm UTC](https://discuss.elastic.co/t/vega-signal-resets-to-initial-value-after-refreshing-the-dashboard/138263/2 "2018-07-02T19:30:29Z")

</div>

cc @nyuriks - any help on this Vega question here?

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![nyuriks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyuriks/32/26171_2.png) [@nyuriks](https://discuss.elastic.co/u/nyuriks)
#### Post date: [July 2, 2018, 8:53pm UTC](https://discuss.elastic.co/t/vega-signal-resets-to-initial-value-after-refreshing-the-dashboard/138263/3 "2018-07-02T20:53:23Z")

</div>

Hi @vega_user

At this point the Vega graph is regenerated on every data refresh. This should be fixed, and it has been requested in the past, but may require some upstream Vega work, or a workaround. See [https://github.com/elastic/kibana/issues/17212](https://github.com/elastic/kibana/issues/17212)

P.S. I like your nick, well chosen! 🙂

---

<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: [July 30, 2018, 8:53pm UTC](https://discuss.elastic.co/t/vega-signal-resets-to-initial-value-after-refreshing-the-dashboard/138263/4 "2018-07-30T20:53:29Z")

</div>

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