Description Usage Arguments See Also
Server-side code for generic KPI gauge & slider. Essentially calls userFractionGauge().
1 2 3 |
input |
Required for shiny modules' server functions. |
output |
Required for shiny modules' server functions. |
session |
Required for shiny modules' server functions. |
threshold |
numeric, the cutoff between positive and negative colors. |
symbol |
string, indicates unit of numeric output (eg. "%"). |
title |
string, title for gauge. |
minRange |
numeric, minimum value for gauge. |
maxRange |
numeric, maximum value for gauge. |
reversed_values |
logical, indicates whether to flip values (e.g. gauge_value <- maxRange - gauge_value ) |
reversed_colors |
logical, indicates whether low values are 'good'/green and high values are 'bad'/red or not. |
fractionGaugeSliderUI
fractionGauge
based off of userFractionGaugeSlider
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.