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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user