98_DOIF.pm: card function: previous optimization removed

git-svn-id: https://svn.fhem.de/fhem/trunk@30339 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian
2025-09-30 18:49:36 +00:00
parent df47a05369
commit b4a6c1f358

View File

@@ -5286,12 +5286,7 @@ sub plot {
}
my $lines=5;
if ($autoScaling) {
($minPlot,$maxPlot,$lines)=nice_scale($minPlot,$maxPlot,6);
if ($lines >= 7) {
($minPlot,$maxPlot,$lines)=nice_scale($minPlot,$maxPlot,5);
}
}
($minPlot,$maxPlot,$lines)=nice_scale($minPlot,$maxPlot,5) if ($autoScaling);
my ($m,$n)=m_n($minPlot,0,$maxPlot,50);
my $currColor;