Fixing Filter values

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@917 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-06-23 11:35:02 +00:00
parent bcc39f51a9
commit 767cea6798
5 changed files with 10 additions and 9 deletions

View File

@@ -347,7 +347,8 @@ SVG_render($$$$$$$)
my $yh = $y+$h;
my $tl = $ltitle[$idx] ? $ltitle[$idx] : "";
my $dec = int(log($hmul*3)/log(10));
my $dec = int(log($hmul*3)/log(10)); # Some perl implementations do not have log()
# my $dec = 1;
$dec = 0 if($dec < 0);
my $js_helpers = "id=\"line_$idx\" decimals=\"$dec\" ".
"x_off=\"$fromsec\" x_min=\"$x\" x_mul=\"$tmul\" ".