mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
FHEM/98_SVG.pm: check fir currval for XY graphs (Forum #66409)
git-svn-id: https://svn.fhem.de/fhem/trunk@13329 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4b288a0592
commit
3f67398e14
@ -2077,7 +2077,8 @@ SVG_render($$$$$$$$$$)
|
||||
my $t = $conf{lTitle}[$i];
|
||||
next if( !$t );
|
||||
my $desc = "";
|
||||
if(defined($data{"min$j"}) && $data{"min$j"} ne "undef") {
|
||||
if(defined($data{"min$j"}) && $data{"min$j"} ne "undef" &&
|
||||
defined($data{"currval$j"}) && $data{"currval$j"} ne "undef") {
|
||||
$desc = sprintf("%s: Min:%g Max:%g Last:%g",
|
||||
$t, $data{"min$j"}, $data{"max$j"}, $data{"currval$j"});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user