FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Totte10 am 23 April 2015, 22:26:17

Titel: Ergebnis aus Max-Min in Plot Titel darstellen?
Beitrag von: Totte10 am 23 April 2015, 22:26:17
Hallo,

Ist es möglich in einem Plot-Title das Ergebnis aus Max1-Min1 darzustellen?

Beste Grüße

Thorsten
Titel: Antw:Ergebnis aus Max-Min in Plot Titel darstellen?
Beitrag von: flurin am 24 April 2015, 10:10:24
Zitat von: Totte10 am 23 April 2015, 22:26:17
Hallo,

Ist es möglich in einem Plot-Title das Ergebnis aus Max1-Min1 darzustellen?

Beste Grüße

Thorsten


attr SVG_Filelog_mydevice title sprintf("Max1-Min1: %.2f",$data{max1}-$data{min1})


%.2f = 2 Stellen nach dem Komma.

+ in Plot title den Platzhalter <TL> definieren.
Titel: Antw:Ergebnis aus Max-Min in Plot Titel darstellen?
Beitrag von: Totte10 am 24 April 2015, 20:52:43
Besten Dank!!