vbox_graphic | R Documentation |
builds the div for a shiny value box with a simple sparklines-like graphic
vbox_graphic( label = "label", textid = "textOutput_here", col = "rgba(60,130,180,0.5)", graph_title = "nowcast", value = 1:10 )
label |
The label - character of length one |
textid |
The value - A character vector of length one, optionally the textOutput of a reactive value if using vbox_reactive |
col |
Bkgd col- A character of rbg(), rgba(), or a html color name recognized in R |
graph_title |
|
value |
the sparklines values to be plotted - a numeric vector |
A character vector of the div tree to be rendered in the ui of a shiny app
vbox_graphic(label = 'label',textid = 'textOutput_here',col = 'rgba(60,130,180,0.5)', graph_title='nowcast',value=1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.