Description Arguments Value Usage See Also Examples
The showGrid
widget displays a collection of buttons positioned
along a grid to help devise where you would like to organize/place multiple
widgets on a switchboard. Buttons contain the row by column coordinates of the
grid. NOTE: You can click on any button to copy-to-clipboard the small
coordinate script. You can then paste in your switchboard widget
placeOnGrid
option (e.g., placeOnGrid = c(1, 2)
).
nrows |
Number of rows to plot on grid. |
ncolumns |
Number of columns to plot on grid. |
Nothing.
1 | showGrid(nrows = 4, ncolumns = 4)
|
Other dashboard:
switchboard_close()
,
switchboard()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
for (i in 1:250) {
switchboard(delay = 0.01) %>%
progress_ring(i, maximum = 250, placeOnGrid = c(1,1)) %>%
progress_ring(i, maximum = 250, placeOnGrid = c(2,2)) %>%
progress_ring(i, maximum = 250, placeOnGrid = c(3,3)) %>%
progress_ring(i, maximum = 250, placeOnGrid = c(4,4)) %>%
showGrid()
}
switchboard_close()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.