Create alternate bullet graph with reference line (using ggplot conversion to plotly)
Source:R/graphs-plotly.R
abm_bullet_plotly.RdCreate alternate bullet graph with reference line (using ggplot conversion to plotly)
Arguments
- label
a label for the indicator, shown to the left of the gauge
- value
the value of the indicator, displayed as a horizontal wide line
- reference
a reference value displayed as a vertical thin line
- roundto
number of digits after the decimal point (default = 1)
- pct
boolean, set to TRUE if given value is a share (default = FALSE)