GroupBarChartData

constructor(barPlotData: BarPlotData, xAxisData: AxisData = AxisData.Builder().build(), yAxisData: AxisData = AxisData.Builder().build(), backgroundColor: Color = Color.White, horizontalExtraSpace: Dp = 10.dp, paddingEnd: Dp = 10.dp, paddingTop: Dp = 0.dp, showYAxis: Boolean = true, showXAxis: Boolean = true, tapPadding: Dp = 10.dp, groupSeparatorConfig: GroupSeparatorConfig = GroupSeparatorConfig(), accessibilityConfig: AccessibilityConfig = AccessibilityConfig(), paddingBetweenStackedBars: Dp = 0.dp, drawBar: (DrawScope, GroupBarChartData, BarStyle, Offset, Float, Int) -> Unit = { drawScope, barChartData, barStyle, drawOffset, height, barIndex -> //default implementation drawGroupBarGraph( drawScope, barChartData, barStyle, drawOffset, height, barPlotData.barColorPaletteList[barIndex], barIndex ) })

Parameters

barPlotData

: Group bar plot data.

xAxisData

: All the configurations related to X-Axis to be defined here in AxisData

yAxisData

: All the configurations related to Y-Axis to be defined here in AxisData

horizontalExtraSpace

: Extra space added in the horizontal axis.

backgroundColor

: Background color of the graph.

paddingEnd

: End Padding.

paddingTop

: Top Padding.

showXAxis

: Boolean Flag to enable/disable X axis.

showYAxis

: Boolean Flag to enable/disable Y axis.

tapPadding

: Tap padding offset.

groupSeparatorConfig

: All config related to the GroupSeparator.

accessibilityConfig

: Configs related to accessibility service defined here in AccessibilityConfig