mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
log() removed as the fb7270-per does not have it
git-svn-id: https://svn.fhem.de/fhem/trunk@992 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4ff92d185c
commit
daf54f52c6
@ -346,8 +346,8 @@ SVG_render($$$$$$$)
|
||||
|
||||
my $yh = $y+$h;
|
||||
my $tl = $ltitle[$idx] ? $ltitle[$idx] : "";
|
||||
my $dec = int(log($hmul*3)/log(10)); # Some perl implementations do not have log()
|
||||
# my $dec = 1;
|
||||
#my $dec = int(log($hmul*3)/log(10)); # Some perl implementations do not have log()
|
||||
my $dec = length(sprintf("%d",$hmul*3))-1;
|
||||
$dec = 0 if($dec < 0);
|
||||
my $js_helpers = "id=\"line_$idx\" decimals=\"$dec\" ".
|
||||
"x_off=\"$fromsec\" x_min=\"$x\" x_mul=\"$tmul\" ".
|
||||
|
Loading…
x
Reference in New Issue
Block a user