2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

98_SVG.pm: captionPos patch by andre (Forum #70082)

git-svn-id: https://svn.fhem.de/fhem/trunk@14140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-04-30 06:06:11 +00:00
parent 3e99dbe1a3
commit 7415b10fb5

View File

@ -2130,7 +2130,7 @@ SVG_render($$$$$$$$$$)
if( $caption_pos eq 'auto' ) {
my $a = $conf{lAxis}[$i];
my $axis = 1; $axis = $1 if( $a && $a =~ m/x\d+y(\d+)/ );
if( $axis <= $nr_left_axis ) {
if( $axis <= $use_left_axis ) {
$caption_anchor = "beginning";
} else {
$caption_anchor = "end";