diff --git a/fhem/webfrontend/pgm2/98_SVG.pm b/fhem/webfrontend/pgm2/98_SVG.pm
index eceafe05e..ee9288d54 100755
--- a/fhem/webfrontend/pgm2/98_SVG.pm
+++ b/fhem/webfrontend/pgm2/98_SVG.pm
@@ -135,7 +135,8 @@ SVG_render($$$$$$$)
}
pO "$t";
+ "x=\"$off1\" y=\"$off2\" text-anchor=\"end\" class=\"l" .
+ (defined($linestyle[$i]) ? $linestyle[$i] : $i) . "\">$t";
$off2 += $th;
}
@@ -416,7 +417,10 @@ SVG_render($$$$$$$)
$ret .= sprintf(" %d,%d", $x1, $y1);
}
- pO "";
+ pO "";
}