mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Disabled min- & max-display in userdefined-plots, if there is at least not one numeric value.
git-svn-id: https://svn.fhem.de/fhem/trunk@562 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
939880da3b
commit
23cd254a48
@ -269,8 +269,10 @@ if ($gnuplottype=='piri' or $gnuplottype=='fs20')
|
||||
|
||||
$txtcolor=$bg3p;
|
||||
$fontsize=7;
|
||||
if (is_numeric($mintemp) || is_numeric($maxtemp)) {
|
||||
$text="min= $mintemp max= $maxtemp";
|
||||
ImageTTFText ($im, $fontsize, 0, 67-$XcorrectMainTextUSERDEF, 49, $txtcolor, $fontttf, $text);
|
||||
}
|
||||
$text=$resultreverse[0][0];
|
||||
ImageTTFText ($im, $fontsize, 0, $imgmaxxuserdef-127, 15, $txtcolor, $fontttf, $text);
|
||||
#############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user