# Method for update data

**URL:** <https://community.grafana.com/t/method-for-update-data/1995>\
**Category:** Grafana Plugin Development\
**Created:** [July 25, 2017, 3:12pm UTC](https://community.grafana.com/t/method-for-update-data/1995 "2017-07-25T15:12:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tavi](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/tavi/32/3301_2.png) [@tavi](https://community.grafana.com/u/tavi)\
**Post date:** [July 25, 2017, 3:12pm UTC](https://community.grafana.com/t/method-for-update-data/1995/1 "2017-07-25T15:12:34Z")

</div>

What is the name of the method for updating the entire dashboard data? I mean updating graphics. Is there such a thing?

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [July 26, 2017, 10:36am UTC](https://community.grafana.com/t/method-for-update-data/1995/2 "2017-07-26T10:36:48Z")

</div>

If you want to update the entire dashboard, then send a refresh event. Each panel listens out for the refresh event and refreshes its data on receiving.

Here is an example of broadcasting the refresh event: [https://github.com/grafana/grafana/blob/master/public/app/features/dashboard/ad\_hoc\_filters.ts#L145](https://github.com/grafana/grafana/blob/master/public/app/features/dashboard/ad_hoc_filters.ts#L145)

And here is an example of receiving the refresh event: [https://github.com/grafana/grafana/blob/f1276774a00017f4f5210f1d7584fbe8362890ab/public/app/plugins/panel/dashlist/module.ts#L34](https://github.com/grafana/grafana/blob/f1276774a00017f4f5210f1d7584fbe8362890ab/public/app/plugins/panel/dashlist/module.ts#L34)
