sparkvalueBox {glossa} | R Documentation |
Create a Sparkline Value Box
Description
This function creates a custom value box with a sparkline plot embedded in it.
Usage
sparkvalueBox(
title,
sparkline_data,
description,
type = "line",
box_color = "white",
width = 4,
elevation = 0,
...
)
Arguments
title |
The title or heading of the value box. |
sparkline_data |
The data used to generate the sparkline plot. |
description |
A short description or additional information displayed below the value box. |
type |
The type of sparkline plot to generate. Default is "line". |
box_color |
The background color of the value box. |
width |
The width of the value box. Default is 4. |
elevation |
The elevation of the value box. Default is 0. |
... |
Additional parameters to be passed to the sparkline function. |
Value
Returns a custom value box with the specified parameters.
[Package glossa version 1.2.2 Index]