diff --git a/fhem/contrib/InfoPanel/55_InfoPanel.pm b/fhem/contrib/InfoPanel/55_InfoPanel.pm index 9110aa0c8..b86c20bd8 100644 --- a/fhem/contrib/InfoPanel/55_InfoPanel.pm +++ b/fhem/contrib/InfoPanel/55_InfoPanel.pm @@ -352,8 +352,8 @@ sub btIP_itemPlot { } } - ($width,$height) = split(",", AttrVal($plotName[0],"plotsize","800,160")); - ($width,$height) = _btIP_imgRescale($width,$height,$scale) unless $scale eq '1'; +# ($width,$height) = split(",", AttrVal($plotName[0],"plotsize","800,160")); +# ($width,$height) = _btIP_imgRescale($width,$height,$scale) unless $scale eq '1'; if($inline eq "1") { # @@ -369,10 +369,11 @@ sub btIP_itemPlot { ($mimetype, $svgdata) = SVG_showLog("unused"); $svgdata =~ s/<\/svg>/<\/svg>/; -# $svgdata =~ s/\n"; + ($width,$height,$mimetype,$svgdata) = _btIP_imgData($svgdata,$scale); + $output = "\n"; + $output .= "\n"; } else { #