Closed LJNIC closed 3 years ago
Hello,
I think the result of this is already possible by setting the Bar Width:
GroupedBarChartData(... barStyle: BarStyle(barWidth: 0.5), ...)
An issue with setting spacing in the HStack is that the extra padding needs to be taken account of if the touch functions of the data model.
func getDataPoint(touchLocation: CGPoint, chartSize: CGRect) func getPointLocation(dataSet: GroupedBarDataSets, touchLocation: CGPoint, chartSize: CGRect) -> CGPoint?
The touch marker no longer lines up with the centre of the bars.
Thanks, Will
Hello,
I think the result of this is already possible by setting the Bar Width:
An issue with setting spacing in the HStack is that the extra padding needs to be taken account of if the touch functions of the data model.
The touch marker no longer lines up with the centre of the bars.
Thanks, Will