# Gauge\_ui anpassen

**URL:** https://discourse.nodered.org/t/gauge-ui-anpassen/75519
**Category:** General
**Tags:** node-red-dashboard
**Created:** [21 February 2023 17:02 UTC](https://discourse.nodered.org/t/gauge-ui-anpassen/75519 "2023-02-21T17:02:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tuvok](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tuvok](https://discourse.nodered.org/u/tuvok)
#### Post date: [21 February 2023 17:02 UTC](https://discourse.nodered.org/t/gauge-ui-anpassen/75519/1 "2023-02-21T17:02:12Z")

</div>

Hallo Zusammen,  
ich hoffe ich kann hier auch in Deutsch schreiben, da mein English nicht das Weltbeste ist.

Ich möchte das ui\_gauge ein wenig anpassen und zwar möchte ich folgendes:

- die Schrift von Units kann man die iwie beeinflussen?
- das selbe suche ich für die Dynamische Anzeige selbst.
- gibt es eine andere Möglichkeit, als die Schriftgröße in dem Feld reinzuschreiben?

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/7194e0e018f88156f8b2e84c74ab27f1a3ea194e.png)

Anzeige in Grafana wirkt ein wenig klein, größer wollte ich es aber nicht ziehen, da es sonst nicht mehr aufs Tablet passt. auf dem Handy ist es eh schon schwer. da ich das ja nicht als einzelne Panels machen kann in Grafana

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5cc010139044995c309d94522cb64454a5d773ad.png)

---

<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: [21 February 2023 21:28 UTC](https://discourse.nodered.org/t/gauge-ui-anpassen/75519/2 "2023-02-21T21:28:36Z")

</div>

Welcome 🙂

Many of us can speak or read German but most of us do use google translate anyway. To get attention faster, just save us the time to do the translations ...

To adjust gauge look and feel - couple of documents to read:

> <https://github.com/node-red/node-red-dashboard/blob/master/config-fields.md>

And from the bottom of the document there is link to [Justgage parameters](https://github.com/toorshia/justgage/blob/master/justgage.js#L42)

Little example

```auto
[{"id":"5384461fccbc85cb","type":"inject","z":"09deee63c1b960f7","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"2","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":190,"y":1280,"wires":[["94d17c103c63e67b"]]},{"id":"94d17c103c63e67b","type":"function","z":"09deee63c1b960f7","name":"random","func":"function randomBetween(min, max) { // min and max included \n return Math.random() * (max - min + 1) + min\n}\n\nmsg.payload = randomBetween(0, 100)\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":380,"y":1280,"wires":[["70a65b6d782714d0"]]},{"id":"70a65b6d782714d0","type":"ui_gauge","z":"09deee63c1b960f7","name":"","group":"08ac9b242ae51e8c","order":10,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","diff":false,"className":"","x":590,"y":1340,"wires":[]},{"id":"9339c74eaaeb67bd","type":"inject","z":"09deee63c1b960f7","name":"","props":[{"p":"ui_control","v":"{\"options\":{\"minLabelMinFontSize\":20,\"maxLabelMinFontSize\":20}}","vt":"json"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":370,"y":1340,"wires":[["70a65b6d782714d0"]]},{"id":"08ac9b242ae51e8c","type":"ui_group","name":"Default","tab":"2acb95821445c8af","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"2acb95821445c8af","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

```

---

<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: [22 April 2023 21:29 UTC](https://discourse.nodered.org/t/gauge-ui-anpassen/75519/3 "2023-04-22T21:29:04Z")

</div>

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