This function creates a plant growth meter visualization.
plant_growth(
fill_level = 0.5,
potWidth = 100,
potHeight = 40,
plantMaxHeight = 150,
stemColor = "#228B22",
potColor = "#8B4513",
flowerColor = "#FF69B4",
strokeColor = "#333",
strokeWidth = 2,
renderFillLabel = TRUE,
titleText = "Plant Growth",
titleColor = "#333",
titleFontSize = "14px",
font = "sans-serif"
)
Numeric between 0 and 1 indicating growth level.
Width of the pot.
Height of the pot.
Max height of plant stem.
Color of the plant stem and leaves.
Color of the pot.
Color of the flowers that bloom when growth is high.
Outline color for the pot.
Outline width.
Whether to display a growth label.
Title shown below the pot.
Title color.
Font size of the title.
Font family.