Could not find barSpace attribute
You can find it here:
let data = BarChartData(dataSets: dataSets)
let groupSpace = 0.1 // space between bar groups
let barSpace = 0.03 // space between bars within a group
data.barWidth = (1.0 - groupSpace) / 2 - barSpace // 2 = number of bars within a group
data.groupBars(fromX: 0.0, groupSpace: groupSpace, barSpace: barSpace)
barChart.data = data
Can the bar space be updated dynamically for each bar drawn? (different spacing between each bar on a chart)
not each bar.
Most helpful comment
You can find it here: