WaterfallChartDefaults

Theme-aware defaults for waterfall charts.

Properties

Functions

Link copied to clipboard
fun bars(positiveColor: Color = MaterialTheme.colorScheme.tertiary, negativeColor: Color = MaterialTheme.colorScheme.error, totalColor: Color = MaterialTheme.colorScheme.primary, maxBarWidth: Dp = 56.dp, space: Dp = StyleDefaults.barSpacing): WaterfallBarsStyle
Link copied to clipboard
fun style(chartContainerStyle: ChartContainerStyle = ChartContainerDefaults.style(), bars: WaterfallBarsStyle = bars(), connectors: AxisLinesStyle = AxisLinesDefaults.style(), axes: AxesStyle = AxesDefaults.style(), range: BarRangeStyle = BarChartDefaults.range(), selection: BarSelectionStyle = BarChartDefaults.selection(), legend: LegendStyle = LegendDefaults.style()): WaterfallChartStyle