2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 14:46:24 +00:00

updated plotAsPng() documentation in 02_RSS.pm

git-svn-id: https://svn.fhem.de/fhem/trunk@4192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2013-11-09 15:45:10 +00:00
parent 13337620cb
commit bee05f9d73

View File

@ -680,9 +680,10 @@ RSS_CGI(){
<i>Special uses</i><p>
You can display <a href="#SVG">SVG</a> plots with the aid of the helper function <code>plotAsPng()</code> (in 98_SVG.pm). Example:<p>
You can display <a href="#SVG">SVG</a> plots with the aid of the helper function <code>plotAsPng(&lt;name&gt;[,&lt;zoom&gt;[,&lt;offset&gt;]])</code> (in 98_SVG.pm). Examples:<p>
<code>
img 20 30 0.6 png data { plotAsPng("mySVGPlot") }
img 20 30 0.6 png data { plotAsPng("mySVGPlot") }<BR>
img 20 30 0.6 png data { plotAsPng("mySVGPlot","qday",-1) }
</code>
<p>
This requires the perl module Image::LibRSVG and librsvg. Debian-based systems can install these with <code>apt-get install libimage-librsvg-perl</code>.