2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

98_logProxy.pm: better distribution of labels for polar plots with >10 points

git-svn-id: https://svn.fhem.de/fhem/trunk@7242 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-12-17 12:26:34 +00:00
parent 2a0581628f
commit 4c7bbea100

View File

@ -889,8 +889,10 @@ logProxy_Get($@)
$first .= ";p $x $y\n" if( !$first );
} else {
my $align = "middle";
$align = "start" if( $a > 30 && $a < 150 );
$align = "end" if( $a > 210 && $a < 330 );
#$align = "start" if( $a > 30 && $a < 150 );
#$align = "end" if( $a > 210 && $a < 330 );
$align = "start" if( $a > 0 && $a < 180 );
$align = "end" if( $a > 180 && $a < 360 );
$ret .= ";t $x $y $align $value\n";
}