Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object ChartDefaults
Link copied to clipboard
data class ChartRegistryItem(val id: String = "", val category: ChartTypeCategory = ChartTypeCategory.AREA, val variant: ChartVariant = ChartVariant.DEFAULT, val title: String, val description: String? = null, val data: List<ChartSeries>, val xLabels: List<String> = emptyList(), val footerBadge: String = "", val footerTrend: String = "", val innerRadiusFraction: Float = 0.6f, val radialMaxValue: Float = 100.0f)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Controls the background grid drawn behind the radar polygon.
Functions
Link copied to clipboard
Link copied to clipboard
fun KAreaChart(item: ChartRegistryItem, gradient: Boolean = false, stacked: Boolean = false, expandToFull: Boolean = false, curveType: CurveType = CurveType.NATURAL, showGridLines: Boolean = true, modifier: Modifier = Modifier)
A fully-themed area chart that mirrors the shadcn <AreaChart> component.
Link copied to clipboard
fun KBarChart(item: ChartRegistryItem, stacked: Boolean = false, showNegative: Boolean = false, cornerRadius: BarCornerRadius = BarCornerRadius.ALL, showGridLines: Boolean = true, activeIndex: Int = -1, modifier: Modifier = Modifier)
A fully-themed vertical bar chart that mirrors the shadcn <BarChart> component.
Link copied to clipboard
fun KHorizontalBarChart(item: ChartRegistryItem, showGridLines: Boolean = true, modifier: Modifier = Modifier)
Link copied to clipboard
fun KLineChart(item: ChartRegistryItem, showDots: Boolean = false, dotsColorized: Boolean = true, curveType: CurveType = CurveType.NATURAL, showGridLines: Boolean = true, modifier: Modifier = Modifier)
A fully-themed line chart that mirrors the shadcn <LineChart> component.
Link copied to clipboard
Link copied to clipboard
fun KRadarChart(item: ChartRegistryItem, gridType: RadarGridType = RadarGridType.POLYGON, showDots: Boolean = false, showAxisLines: Boolean = true, gridLevels: Int = 4, modifier: Modifier = Modifier)
A fully-themed radar (spider) chart that mirrors the shadcn <RadarChart> component.
Link copied to clipboard
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)
A fully-themed radial bar chart that mirrors the shadcn <RadialBarChart> component.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun UniversalChartCard(item: ChartRegistryItem, showLegend: Boolean = false, modifier: Modifier = Modifier, chartContent: @Composable () -> Unit)
Card wrapper used by all Kindling chart composables.