mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 14:16:42 +00:00
98_SVG.pm: fix plotReplavce doc (Forum #104935)
git-svn-id: https://svn.fhem.de/fhem/trunk@20447 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e1787f7d66
commit
1e417b3fcf
@ -2626,13 +2626,11 @@ plotAsPng(@)
|
||||
enclosed in "" or {}. value will be evaluated as a perl expression, if it
|
||||
is enclosed in {}.
|
||||
<br>
|
||||
In the .gplot file <key> is replaced with the corresponding value,
|
||||
the evaluation of {} takes place <i>after</i> the input file is
|
||||
processed, so $data{min1} etc can be used.
|
||||
<br>
|
||||
%key% will be repaced <i>before</i> the input file is processed, this
|
||||
expression can be used to replace parameters for the input processing.
|
||||
</li><br>
|
||||
In the .gplot file <key> and %key% will be replaced with the
|
||||
corresponding value. The evaluation of <key> takes place after the
|
||||
input file is processed, so e.g. $data{min1} can be used in the title.
|
||||
%key% will be repaced before the input file is processed, this expression
|
||||
can be used to replace parameters for the input processing. </li><br>
|
||||
|
||||
<li><a href="#plotsize">plotsize</a></li><br>
|
||||
<li><a href="#plotWeekStartDay">plotWeekStartDay</a></li><br>
|
||||
@ -2865,14 +2863,11 @@ plotAsPng(@)
|
||||
enthalten, falls es in "" oder {} eingeschlossen ist. Wert wird als
|
||||
perl-Ausdruck ausgewertet, falls es in {} eingeschlossen ist.
|
||||
<br>
|
||||
In der .gplot Datei werden <Name> Zeichenketten durch den
|
||||
zugehoerigen Wert ersetzt, die Auswertung von {} Ausdrücken erfolgt
|
||||
<i>nach</i> dem die Daten ausgewertet wurden, d.h. man kann hier
|
||||
$data{min1},etc verwenden.
|
||||
<br>
|
||||
Bei %Name% erfolgt die Ersetzung <i>vor</i> der Datenauswertung, das kann
|
||||
man verwenden, um Parameter für die Auswertung zu ersetzen.
|
||||
</li><br>
|
||||
In der .gplot Datei wird <Name> und %Name% durch den
|
||||
zugehörigen Wert ersetzt, wobei <Name> nach der Extraktion der
|
||||
Logdaten ersetzt wird, damit man auf Werte wie $data{min1} zugreifen
|
||||
kann, und %Name% davor, damit man die Regeln in der .gplot Datei für
|
||||
die Extraktion anpassen kann.</li><br>
|
||||
|
||||
<li><a href="#plotsize">plotsize</a></li><br>
|
||||
<li><a href="#plotWeekStartDay">plotWeekStartDay</a></li><br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user