mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
00_THZ.pm: heatcurve zoom fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@8103 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
afd73a53a0
commit
1b8f6e621a
@ -1572,7 +1572,7 @@ sub function_heatSetTemp($$) {
|
||||
sub THZ_PrintcurveSVG {
|
||||
my ($ycurvevalues, $titlestring, $heatSetTemp, $outside_tempFiltered) = function_heatSetTemp(-15,20);
|
||||
my $vstep= 5;
|
||||
$vstep= 10 if (($ycurvevalues->[0][1])>36); #change scale if out of scale
|
||||
$vstep= 10 if ((($ycurvevalues->[0][1])>36) or (($ycurvevalues->[0][2])>36)); #change scale if out of scale
|
||||
my$v0min= 15;
|
||||
my $v1=$v0min+$vstep; my $v2=$v1+$vstep; my $v3=$v2+$vstep; my $v4=$v3+$vstep;
|
||||
my $ret = <<'END';
|
||||
|
Loading…
x
Reference in New Issue
Block a user