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
This commit is contained in:
@@ -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(<name>[,<zoom>[,<offset>]])</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>.
|
||||
|
||||
Reference in New Issue
Block a user