# Delete icon from artless gauge

**URL:** <https://discourse.nodered.org/t/delete-icon-from-artless-gauge/41170>\
**Category:** Dashboard\
**Created:** [17 February 2021 15:17 UTC](https://discourse.nodered.org/t/delete-icon-from-artless-gauge/41170 "2021-02-17T15:17:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfedo](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Post date:** [17 February 2021 15:17 UTC](https://discourse.nodered.org/t/delete-icon-from-artless-gauge/41170/1 "2021-02-17T15:17:53Z")

</div>

Hello, I'm using artless gauge and I found in the documentation how to set an icon with function node: `msg.control = {icon:"iconify-fluent:battery-charge-20-regular"}`

but I dont figure out how to delete this icon with function. I want to show the icon only when something happens. When my payload is 0 then I dont want to show the icon, how to achieve that?

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [17 February 2021 17:08 UTC](https://discourse.nodered.org/t/delete-icon-from-artless-gauge/41170/2 "2021-02-17T17:08:55Z")

</div>

This is not documented cos I never thought it would be necessary. But here you are. 🙂

```auto
 msg.control = {icon:"fa-fw"}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 March 2021 17:09 UTC](https://discourse.nodered.org/t/delete-icon-from-artless-gauge/41170/3 "2021-03-03T17:09:41Z")

</div>

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