2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 22:15:09 +00:00

98_DOIF.pm: card: bars now with values ​​in the future of the current period

git-svn-id: https://svn.fhem.de/fhem/trunk@27452 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2023-04-16 11:34:30 +00:00
parent 21f58efb1a
commit 23c3208fad

View File

@ -5379,7 +5379,8 @@ sub plot {
for (my $j=0; $j < $dim; $j++) { for (my $j=0; $j < $dim; $j++) {
my $num; my $num;
if ($numOrig == 1) { if ($numOrig == 1) {
if ($j < $period1 or $j == $period1 and defined ${$a}[($i)*$dim+$j]) { ##if ($j < $period1 or $j == $period1 and defined ${$a}[($i)*$dim+$j]) {
if (defined ${$a}[($i)*$dim+$j]) {
$num = 1; $num = 1;
} else { } else {
$num = 2; $num = 2;