YCharts icon indicating copy to clipboard operation
YCharts copied to clipboard

Correction: `barStyle = BarStyle(barWidth=25)` in `README.md`

Open shubham0204 opened this issue 11 months ago • 0 comments

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 avatar Mar 02 '24 14:03 shubham0204