";
my @f = split(":", ($flog->[$r] ? $flog->[$r] : ":::"), 4);
$ret .= wl_sel("cl_${r}", $colnums, $f[0]);
@@ -413,7 +427,8 @@ weblink_WriteGplot($)
$FW_webArgs{"fn_$i"} ."\n";
push @plot, "\"\" using 1:2 axes ".
($FW_webArgs{"axes_$i"} eq "right" ? "x1y2" : "x1y1").
- " title '".$FW_webArgs{"title_$i"} ."'".
+ ($FW_webArgs{"title_$i"} eq "notitle" ? " notitle" :
+ " title '".$FW_webArgs{"title_$i"} ."'").
" ls " .$FW_webArgs{"style_$i"} .
" lw " .$FW_webArgs{"width_$i"} .
" with " .$FW_webArgs{"type_$i"};
@@ -468,7 +483,7 @@ weblink_WriteGplot($)
file, even if its name changes regularly (and not the one you
originally specified).
For cmdList <argument> consist of a list of space separated icon:label:cmd triples.
-
+
@@ -491,15 +506,14 @@ weblink_WriteGplot($)
htmlattr
- HTML attributes to be used for link, image and iframe type of links. E.g.:
+ HTML attributes to be used for link, image and iframe type of links.
+ E.g.:
define yw weblink wl_im1 iframe http://weather.yahooapis.com/forecastrss?w=650272&u=c
attr yw weblink htmlattr width="480" height="560"
-
@@ -511,9 +525,9 @@ weblink_WriteGplot($)
expression, so you have access e.g. to the Value functions.
If the plotmode is gnuplot-scroll or SVG, you can also use the min, max,
- avg, cnt, sum, currval (last value) and currdate (last date) values of the
- individual curves, by accessing the corresponding values from the data
- hash, see the example below:
+ avg, cnt, sum, currval (last value) and currdate (last date) values of
+ the individual curves, by accessing the corresponding values from the
+ data hash, see the example below:
Fixed text for the right and left axis:
@@ -554,16 +568,37 @@ weblink_WriteGplot($)
#FileLog 4:IR\x3a:0:
#DbLog
- with: attr plotfunction "Garage_Raumtemp:temperature::"
- instead of
+ with: attr plotfunction
+ "Garage_Raumtemp:temperature::" instead of
#DbLog Garage_Raumtemp:temperature::
-
+
+ Plot-Editor specialities
+
+ If the weblink type is set to fileplot, a weblink editor is displayed in
+ the detail view of the weblink. Most features are obvious here, up to some
+ exceptions:
+
if you want to omit the title for a Diagram label, enter notitle in the
+ input field.
+
if you want to specify a fixed value (not taken from a column) if a
+ string found (e.g. 1 of the FS20 switch is on 0 if it off), then you have
+ to specify the Tics first, and write the .gplot file, before you can
+ select this value from the dropdown.
+ Example:
+
+ Enter in the Tics field: ("On" 1, "Off" 0)
+ Write .gplot file
+ Select "1" from the column dropdown (note the double quote!) for the
+ regexp switch.on, and "0" for the regexp switch.off.
+ Write .gplot file again
+