KRadialChart

fun KRadialChart(item: ChartRegistryItem, startAngle: Float = -90f, endAngle: Float = 270.0f, showBackground: Boolean = true, showGrid: Boolean = false, cornerRadius: Boolean = false, centerLabel: String = "", centerSubLabel: String = "", modifier: Modifier = Modifier)(source)

A fully-themed radial bar chart that mirrors the shadcn <RadialBarChart> component.

Each series value is drawn as a concentric arc at increasing radii, reading from the innermost ring outward — the same layout recharts uses for <RadialBarChart innerRadius={30} outerRadius={110}>.

Parameters

startAngle

Angle (degrees) where arcs begin. 0 = 3-o'clock; -90 = 12-o'clock (default for chart-radial-simple).

endAngle

Angle (degrees) where a full arc ends. 360 = full circle; 250 = partial arc (chart-radial-text uses 0→250).

showBackground

When true draws a dimmed full-circle track behind each arc (chart-radial-simple uses <RadialBar background />).

showGrid

When true draws concentric circle guides at ring boundaries (chart-radial-grid).

cornerRadius

Cap rounding on arc ends (chart-radial-shape uses rounded caps).

centerLabel

Large number rendered in the centre hole (chart-radial-text). Empty string = no label.

centerSubLabel

Smaller sub-label below centerLabel.