Bar Bars Style
data class BarBarsStyle(val color: Color, val colors: ImmutableList<Color>, val gradient: ChartGradient?, val alpha: Float, val space: Dp, val minBarWidth: Dp)(source)
Bar visual configuration shared by vertical bar and histogram charts.
Constructors
Link copied to clipboard
constructor(color: Color, colors: ImmutableList<Color>, gradient: ChartGradient?, alpha: Float, space: Dp, minBarWidth: Dp)
constructor(color: Color, colors: List<Color>, gradient: ChartGradient?, alpha: Float, space: Dp, minBarWidth: Dp)
Copies colors into an immutable palette. Use an immutable list with copy.
Properties
Functions
Link copied to clipboard
Returns the bar colors the chart draws for barCount bars, before alpha is applied: colors when set, or color for every bar when colors is empty.