Gauge_ui anpassen

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?

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

Welcome :slight_smile:

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:

And from the bottom of the document there is link to Justgage parameters

Little example

[{"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}]
1 Like

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