| Sparkline | R Documentation |
See sparkline().
Widget -> Sparkline
min, maxFixed scale limits, or NULL to use the data range.
max_lengthValues kept by push().
summaryHow to fit more values than columns: "tail" (latest
values) or "mean" (average buckets).
dataThe values (reactive).
Widget$add_class()Widget$ancestors()Widget$animate()Widget$arrange_children()Widget$bind()Widget$bind_reactive()Widget$bindings()Widget$blur()Widget$capture_mouse()Widget$child_clip()Widget$clear()Widget$computed_style()Widget$content_height()Widget$default_bindings()Widget$focus()Widget$format()Widget$get_state()Widget$has_class()Widget$invalidate()Widget$invalidate_paint()Widget$is_displayed()Widget$is_enabled()Widget$layout_descend()Widget$layout_differs()Widget$matches()Widget$mount()Widget$on()Widget$paint()Widget$post_message()Widget$print()Widget$pseudo_states()Widget$query()Widget$query_one()Widget$refresh()Widget$release_mouse()Widget$remove()Widget$remove_children()Widget$remove_class()Widget$render()Widget$replace()Widget$run_action()Widget$run_process()Widget$run_worker()Widget$set()Widget$set_interval()Widget$set_state()Widget$set_timeout()Widget$toggle_class()Widget$walk()Sparkline$new()Create a sparkline. See sparkline().
Sparkline$new( data = numeric(), min = NULL, max = NULL, summary = "tail", max_length = 1000L, id = NULL, classes = NULL, style = NULL )
dataNumbers.
min, maxScale limits.
summaryFitting strategy.
max_lengthValues kept by push().
id, classes, styleSee Widget.
Sparkline$default_style()The built-in style.
Sparkline$default_style()
Sparkline$push()Append values (keeping at most max_length).
Sparkline$push(x)
xNumbers.
Sparkline$render_lines()The bars for a given width.
Sparkline$render_lines(width = NA_integer_)
widthContent width.
Sparkline$content_width()Natural width: one column per value.
Sparkline$content_width()
Sparkline$clone()The objects of this class are cloneable with this method.
Sparkline$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.