Widget engine to construct/update/layout piped items on switchboard
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | switchboard_engine(
.switchboard,
eavesdrop = c(NULL, NULL),
inject = c("", ""),
minimum = c(" ", " "),
maximum = c(" ", " "),
label = c(" ", " "),
size = 1,
placeOnGrid = c(NULL, NULL),
extendRow = 1,
updates = 1,
digits = 5,
forget = 400,
delay = 0,
plotRegression = FALSE,
plotSampleSize = FALSE,
plotMean = FALSE,
switch = FALSE,
honest = TRUE,
closeAtMaximum = FALSE,
fill = "horizontal",
file = "",
benchmark = NA,
constructor,
updater
)
|
.switchboard |
A parent switchboard window. It is defined when |
eavesdrop |
The variable(s) to display or track within a widget. |
inject |
Variable names(s) as strings of variables to be modified by widgets. |
minimum |
The minimum value of |
maximum |
The maximum value of |
label |
The caption/label(s) of the widget. |
size |
A number used to designate the size (magnification) of the
widget. The default is set to |
placeOnGrid |
A row by column coordinate (e.g., |
extendRow |
Extends the width of a widget and not the height. Used to better
organize text within |
updates |
The number of times the widget is to be updated (e.g., when it be modified/changed). The default updates the widget 100 times. |
digits |
The number of digits to display in a widget. |
forget |
A time-delay in millisecond for when displayed points on a widget will be deleted. |
delay |
Pause each update of the switchboard. Default has no delay,
values are in seconds (e.g., |
plotRegression |
Display a switchboard-estimated regression line on a widget. |
plotSampleSize |
Display the number items (N) displayed within a widget. |
plotMean |
Display a switchboard-estimated mean and standard deviation whisker plot on a widget. |
switch |
Display an on/off switch on a widget that controls the
updating of the widget. When |
honest |
When |
closeAtMaximum |
Functions like |
fill |
The direction of how things are animated when displaying
progression. The default is |
file |
A *.png filename with a transparent background that designates an image to be used as a progress-bar. The total image size should be 80 by 80 pixels, but for best integration into switchboard layout, the actual image must be 75 by 75 pixels placed at the bottom left of the 80 by 80 image. This will leave a 5 pixel whitespace at both the top and right side of the image. |
benchmark |
The numerical value that will trigger a visual benchmark on a widget. |
constructor |
A widget-specific function that contains the Tcl/Tk script to build the widget. |
updater |
A widget-specific function that contains the Tcl/Tk script to update the constructed widget. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.