mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_SVG.pm: tooltip woes (Forum #52967)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11392 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6eb6bef402
commit
b49408af6b
@ -2029,8 +2029,9 @@ SVG_render($$$$$$$$$$)
|
|||||||
}
|
}
|
||||||
my $style = $conf{lStyle}[$i];
|
my $style = $conf{lStyle}[$i];
|
||||||
$style =~ s/class="/class="legend /;
|
$style =~ s/class="/class="legend /;
|
||||||
SVG_pO "<text title=\"$desc\" line_id=\"line_$i\" x=\"$txtoff1\" ".
|
SVG_pO "<text line_id=\"line_$i\" x=\"$txtoff1\" y=\"$txtoff2\" ".
|
||||||
"y=\"$txtoff2\" text-anchor=\"$caption_anchor\" $style>$t</text>";
|
"text-anchor=\"$caption_anchor\" $style>$t<title>$desc</title></text>";
|
||||||
|
|
||||||
$txtoff2 += $th;
|
$txtoff2 += $th;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user