drawBarGraph

fun drawBarGraph(drawScope: DrawScope, barData: BarData, drawOffset: Offset, height: Float, barChartType: BarChartType, barStyle: BarStyle)

Used to draw the individual bars

Parameters

drawScope

: Creates a scoped drawing environment

barStyle

: all meta data related to the bar styling

barData

: data related to a single bar

drawOffset

: top left offset for the drawing the bar

height

: height of the bar graph

barChartType

: type of bar chart