From f9de694726e055d8eeb6e8589274c48a65bae1e8 Mon Sep 17 00:00:00 2001 From: borisneubert Date: Sat, 9 Nov 2013 15:45:10 +0000 Subject: [PATCH] updated plotAsPng() documentation in 02_RSS.pm git-svn-id: https://svn.fhem.de/fhem/trunk@4192 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/02_RSS.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/02_RSS.pm b/fhem/FHEM/02_RSS.pm index e7a65a1cd..ab8015dd6 100644 --- a/fhem/FHEM/02_RSS.pm +++ b/fhem/FHEM/02_RSS.pm @@ -680,9 +680,10 @@ RSS_CGI(){ Special uses

- You can display SVG plots with the aid of the helper function plotAsPng() (in 98_SVG.pm). Example:

+ You can display SVG plots with the aid of the helper function plotAsPng(<name>[,<zoom>[,<offset>]]) (in 98_SVG.pm). Examples:

- img 20 30 0.6 png data { plotAsPng("mySVGPlot") } + img 20 30 0.6 png data { plotAsPng("mySVGPlot") }
+ img 20 30 0.6 png data { plotAsPng("mySVGPlot","qday",-1) }

This requires the perl module Image::LibRSVG and librsvg. Debian-based systems can install these with apt-get install libimage-librsvg-perl.