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

98_SVG.pm: tooltip woes (Forum #52967)

git-svn-id: https://svn.fhem.de/fhem/trunk@11392 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-05-05 13:31:47 +00:00
parent 08be3c2501
commit b268afb565

View File

@ -2029,8 +2029,9 @@ SVG_render($$$$$$$$$$)
}
my $style = $conf{lStyle}[$i];
$style =~ s/class="/class="legend /;
SVG_pO "<text title=\"$desc\" line_id=\"line_$i\" x=\"$txtoff1\" ".
"y=\"$txtoff2\" text-anchor=\"$caption_anchor\" $style>$t</text>";
SVG_pO "<text line_id=\"line_$i\" x=\"$txtoff1\" y=\"$txtoff2\" ".
"text-anchor=\"$caption_anchor\" $style>$t<title>$desc</title></text>";
$txtoff2 += $th;
}