abm_bullet_plotly: Create alternate bullet graph with reference line (using...

View source: R/graphs-plotly.R

abm_bullet_plotlyR Documentation

Create alternate bullet graph with reference line (using ggplot conversion to plotly)

Description

Create alternate bullet graph with reference line (using ggplot conversion to plotly)

Usage

abm_bullet_plotly(label, value, reference, roundto = 1, pct = FALSE)

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)

Value

a ggplot object


KTH-Library/bibliomatrix documentation built on Feb. 29, 2024, 5:54 a.m.