From b3ac99f92a24f5bf30d34503a5502b6ec9cb3027 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: svn://svn.code.sf.net/p/fhem/code/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.