Description Usage Arguments See Also
Server-side function for score element with title, gauge, and difference.
1 2 3 | scoreWidget(input, output, session, score, color_cutoff, title = "Score",
minRange = 0, maxRange = 100, symbol = "%",
label = "Score vs. cutoff")
|
input |
Required for shiny modules' server functions. |
output |
Required for shiny modules' server functions. |
session |
Required for shiny modules' server functions. |
score |
numeric, score to be displayed |
color_cutoff |
numeric, cutoff between different colours for the gauge. |
title |
string, gauge's title. |
minRange |
numeric, gauge's minimum value. |
maxRange |
numeric, gauge's maximum value. |
symbol |
string, a symbol to pass through to userFractionGauge(); \'\' / empty by default. |
label |
string, title for valueBox |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.