Skip to content

Conversation

shubham0204
Copy link

Description

barWidth is a parameter in BarStyle and not a direct parameter of BarChartData. The sample app uses the same API, but the change was not reflected in README.md for Bar Chart,
The change from,

val barChartData = BarChartData(
  chartData = barChartData,
  xAxisData = xAxisData,
  yAxisData = yAxisData,
  paddingBetweenBars = 20.dp,
  barWidth = 25.dp
)

to

val barChartData = BarChartData(
  chartData = barChartData,
  xAxisData = xAxisData,
  yAxisData = yAxisData,
  paddingBetweenBars = 20.dp,
  barStyle = BarStyle( barWidth=25.dp )
)

is made by this PR.

@shubham0204 shubham0204 closed this by deleting the head repository Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant