Stacked Bar Chart Defaults
object StackedBarChartDefaults
An object that provides default styles for a Stacked Bar Chart.
Functions
Link copied to clipboard
fun style(barColor: Color = MaterialTheme.colorScheme.primary, barAlpha: Float = defaultChartAlpha(), space: Dp = 10.dp, barColors: List<Color> = emptyList(), chartViewStyle: ChartViewStyle = ChartViewDefaults.style(), minBarWidth: Dp = 10.dp, zoomControlsVisible: Boolean = true, yAxisLabelsVisible: Boolean = true, yAxisLabelColor: Color = defaultYAxisLabelColor(), yAxisLabelSize: TextUnit = 11.sp, yAxisLabelCount: Int = 5, xAxisLabelsVisible: Boolean = true, xAxisLabelColor: Color = defaultXAxisLabelColor(), xAxisLabelSize: TextUnit = 11.sp, xAxisLabelMaxCount: Int = 6, selectionLineVisible: Boolean = true, selectionLineColor: Color = defaultSelectionLineColor(), selectionLineWidth: Float = 1.0f): StackedBarChartStyle
Returns a StackedBarChartStyle with the provided parameters or their default values.