StackedBarChartStyle

class StackedBarChartStyle(val modifier: Modifier, val chartViewStyle: ChartViewStyle, val barColor: Color, val barAlpha: Float, val space: Dp, val barColors: List<Color>, val minBarWidth: Dp, val zoomControlsVisible: Boolean, val yAxisLabelsVisible: Boolean, val yAxisLabelColor: Color, val yAxisLabelSize: TextUnit, val yAxisLabelCount: Int, val xAxisLabelsVisible: Boolean, val xAxisLabelColor: Color, val xAxisLabelSize: TextUnit, val xAxisLabelMaxCount: Int, val selectionLineVisible: Boolean, val selectionLineColor: Color, val selectionLineWidth: Float) : Style

A class that defines the style for a Stacked Bar Chart.

Constructors

Link copied to clipboard
constructor(modifier: Modifier, chartViewStyle: ChartViewStyle, barColor: Color, barAlpha: Float, space: Dp, barColors: List<Color>, minBarWidth: Dp, zoomControlsVisible: Boolean, yAxisLabelsVisible: Boolean, yAxisLabelColor: Color, yAxisLabelSize: TextUnit, yAxisLabelCount: Int, xAxisLabelsVisible: Boolean, xAxisLabelColor: Color, xAxisLabelSize: TextUnit, xAxisLabelMaxCount: Int, selectionLineVisible: Boolean, selectionLineColor: Color, selectionLineWidth: Float)

Properties

Link copied to clipboard

The alpha value applied to rendered bar segments.

Link copied to clipboard

The fallback base color used when barColors is empty.

Link copied to clipboard

The explicit colors used for stacked segments.

Link copied to clipboard

The style to be applied to the chart container.

Link copied to clipboard

The minimum width of each bar, used for dense/expand behavior.

Link copied to clipboard

The modifier to be applied to the chart.

Link copied to clipboard

The color of the selection indicator line.

Link copied to clipboard

Whether the selection indicator line is shown.

Link copied to clipboard

The stroke width of the selection indicator line.

Link copied to clipboard
val space: Dp

The space between bars in the chart.

Link copied to clipboard

The color of X-axis labels.

Link copied to clipboard

Maximum number of X-axis labels to display.

Link copied to clipboard

The text size of X-axis labels.

Link copied to clipboard

Whether X-axis labels are shown.

Link copied to clipboard

The color of Y-axis labels.

Link copied to clipboard

Number of Y-axis labels.

Link copied to clipboard

The text size of Y-axis labels.

Link copied to clipboard

Whether Y-axis labels are shown.

Link copied to clipboard

Whether zoom controls are shown in expanded dense mode.

Functions

Link copied to clipboard
open override fun getProperties(): List<Pair<String, Any>>

Returns a list of the properties of the StackedBarChartStyle.