Description Usage Arguments Value
Create interactive 'sparklines' visualizations for use as a standalone component or
in combination with 'reactable' or other table libraries. There are a wide variety of
components for use with dui_sparkline
, including lines, bars, points, reference
lines, and labels. These 'sparklines' automatically include responsive and tooltip
behaviors.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | dui_sparkline(
data = NULL,
className = NULL,
margin = NULL,
max = NULL,
min = NULL,
onMouseMove = NULL,
onMouseLeave = NULL,
renderTooltip = NULL,
preserveAspectRatio = NULL,
valueAccessor = NULL,
viewBox = NULL,
ariaLabel = NULL,
components = list(),
responsive = TRUE,
width = "100%",
height = 100,
elementId = NULL
)
|
data |
|
className |
|
margin |
|
max, min |
|
onMouseMove, onMouseLeave |
|
renderTooltip |
|
preserveAspectRatio |
|
valueAccessor |
|
viewBox |
|
ariaLabel |
|
components |
|
responsive |
|
width, height |
|
elementId |
|
react htmlwidget
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.