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:
parent
13337620cb
commit
bee05f9d73
@ -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>.
|
||||
|
Loading…
x
Reference in New Issue
Block a user