mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
98_SVG.pm: plotAsPng fix (Forum #32791)
git-svn-id: https://svn.fhem.de/fhem/trunk@7756 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
14c5871ea0
commit
3fa2adba43
@ -2129,6 +2129,7 @@ plotAsPng(@)
|
|||||||
|
|
||||||
my ($w, $h) = split(",", AttrVal($plotName[0],"plotsize","800,160"));
|
my ($w, $h) = split(",", AttrVal($plotName[0],"plotsize","800,160"));
|
||||||
$svgdata =~ s/<\/svg>/<polyline opacity="0" points="0,0 $w,$h"\/><\/svg>/;
|
$svgdata =~ s/<\/svg>/<polyline opacity="0" points="0,0 $w,$h"\/><\/svg>/;
|
||||||
|
$svgdata =~ s/\.SVGplot\./\./g;
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
require Image::LibRSVG;
|
require Image::LibRSVG;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user