StackedBarChartDefaults

Functions

Link copied to clipboard
fun axis(xLabels: AxisLabelStyle = xLabels(), yLabels: AxisLabelStyle = yLabels()): StackedBarAxisStyle
Link copied to clipboard
fun layout(space: Dp = 10.dp, minBarWidth: Dp = 10.dp): StackedBarLayoutStyle
Link copied to clipboard
fun segments(color: Color = MaterialTheme.colorScheme.primary, colors: List<Color> = emptyList(), alpha: Float = defaultChartAlpha()): StackedBarSegmentStyle
Link copied to clipboard
fun selection(visible: Boolean = true, color: Color = MaterialTheme.colorScheme.primary.copy(alpha = 0.6f), width: Dp = 1.dp): StackedBarSelectionStyle
Link copied to clipboard
fun style(chartContainerStyle: ChartContainerStyle = ChartContainerDefaults.style(), segments: StackedBarSegmentStyle = segments(), layout: StackedBarLayoutStyle = layout(), axis: StackedBarAxisStyle = axis(), selection: StackedBarSelectionStyle = selection(), zoomControlsVisible: Boolean = true): StackedBarChartStyle
Link copied to clipboard
fun xLabels(visible: Boolean = true, color: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.75f), size: TextUnit = 11.sp, count: Int = 6): AxisLabelStyle
Link copied to clipboard
fun yLabels(visible: Boolean = true, color: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.75f), size: TextUnit = 11.sp, count: Int = 5): AxisLabelStyle