UniversalChartCard
fun UniversalChartCard(item: ChartRegistryItem, showLegend: Boolean = false, modifier: Modifier = Modifier, chartContent: @Composable () -> Unit)(source)
Card wrapper used by all Kindling chart composables.
Renders the KCardHeader (title + description), the chartContent slot, an optional colour-coded legend, and an optional footer with a trend badge and footnote — all driven by the ChartRegistryItem.
Parameters
item
Metadata and series data for the chart.
showLegend
When true, renders a row of coloured dots + series labels below the chart (mirrors <ChartLegend>).
modifier
Applied to the outer KCard.
chartContent
The actual drawing composable (Canvas or Box).