This function creates a custom value box with a sparkline plot embedded in it.
sparkvalueBox(
title,
sparkline_data,
description,
type = "line",
box_color = "white",
width = 4,
elevation = 0,
...
)
Returns a custom value box with the specified parameters.
The title or heading of the value box.
The data used to generate the sparkline plot.
A short description or additional information displayed below the value box.
The type of sparkline plot to generate. Default is "line".
The background color of the value box.
The width of the value box. Default is 4.
The elevation of the value box. Default is 0.
Additional parameters to be passed to the sparkline function.