# UI Chart dynamic topic display

**URL:** https://discourse.nodered.org/t/ui-chart-dynamic-topic-display/20614
**Category:** Dashboard
**Created:** [20 January 2020 09:33 UTC](https://discourse.nodered.org/t/ui-chart-dynamic-topic-display/20614 "2020-01-20T09:33:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![regissg](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@regissg](https://discourse.nodered.org/u/regissg)
#### Post date: [20 January 2020 09:33 UTC](https://discourse.nodered.org/t/ui-chart-dynamic-topic-display/20614/1 "2020-01-20T09:33:59Z")

</div>

In my thermostat application I would like to display the temperature chart for each room.

Using different topics for each room I could display all the rooms on the same chart.

But is it possible to dynamically select the topic (room) to display (i.e. to hide the other topics) on that chart ?

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [20 January 2020 10:51 UTC](https://discourse.nodered.org/t/ui-chart-dynamic-topic-display/20614/2 "2020-01-20T10:51:01Z")

</div>

If you display the legend - you can click on the legend items to turn them on and off

---

<div class="post-metadata">

### Author: ![regissg](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@regissg](https://discourse.nodered.org/u/regissg)
#### Post date: [20 January 2020 11:22 UTC](https://discourse.nodered.org/t/ui-chart-dynamic-topic-display/20614/3 "2020-01-20T11:22:20Z")

</div>

Thanks, that is good to know but I was wondering if is possible to select it dynamically from a node control?
