mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
98_logProxy.pm: use logProxy_xy2Plot instead of logProxy_xy2Data, docu changes
git-svn-id: https://svn.fhem.de/fhem/trunk@7746 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ec6b6c1015
commit
b9a3242044
@ -638,7 +638,7 @@ logProxy_array2Data($$)
|
||||
}
|
||||
#create plot data from xy-array
|
||||
sub
|
||||
logProxy_xy2Data($)
|
||||
logProxy_xy2Plot($)
|
||||
{
|
||||
my ($array) = @_;
|
||||
my $ret = ";c 0\n";
|
||||
@ -1207,6 +1207,8 @@ Log 3, Dumper @a;
|
||||
function (3rd parameter) for a zoom factor dependent number of times. the current time is given in $sec.
|
||||
the step width can be given in an optional 4th parameter. either as a number or as an hash with the keys from
|
||||
the following list: hour,qday,day,week,month,year and the values representing the step with for the zoom level.</li>
|
||||
<li>logProxy_xy2Plot(\@xyArray) is a sample implementation of a function that will accept a ref to an array
|
||||
of xy-cordinate pairs as the data to be plotted.</li>
|
||||
<li>The perl expressions have access to $from and $to for the begining and end of the plot range and also to the
|
||||
SVG specials min, max, avg, cnt, sum, currval (last value) and currdate (last date) values of the individual curves
|
||||
already plotted are available as $data{<special-n>}.<br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user