diff --git a/fhem/FHEM/98_SVG.pm b/fhem/FHEM/98_SVG.pm
index 72249863e..d92843052 100755
--- a/fhem/FHEM/98_SVG.pm
+++ b/fhem/FHEM/98_SVG.pm
@@ -202,6 +202,7 @@ SVG_FwFn($$$$)
$ret .= "
".
@@ -1354,9 +1355,6 @@ SVG_render($$$$$$$$$$)
if($conf{xrange} && $conf{xrange} =~ /\[(.*):(.*)\]/) {
$xmin = $1 if($1 ne "");
$xmax = $2 if($2 ne "");
-
- #$fromsec = $xmin;
- #$tosec = $xmax;
}
$xtics = defined($conf{xtics}) ? $conf{xtics} : "";
@@ -1811,7 +1809,7 @@ SVG_render($$$$$$$$$$)
# bars are all of equal width (see far above !),
# position rounded to integer multiples of bar width
foreach my $i (0..int(@{$dxp})-1) {
- my ($x1, $y1) = ( $x +4 + $dxp->[$i] - $bw,
+ my ($x1, $y1) = ( $x + $dxp->[$i] - $bw,
$y +$h-($dyp->[$i]-$min)*$hmul);
my ($x2, $y2) = ($bw, ($dyp->[$i]-$min)*$hmul);
SVG_pO "