Can I set different barWidth of BarChartDataSets in BarChart?
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I have two BarChartDataSets.
Can I set different barWidth for each BarChartDataSets?
First BarChartDataSet is 0.5 and Second BarChartDataSet is 1.0.
like this.
Or another solution can do it?
I only find a approximate solution is set Second BarChartDataSet's barBorderWidth to 10.
like this.

Contributor guide
Research direction
Start at the BarChart and BarChartDataSets entry points named in the issue, and reproduce the example with datasets using widths 0.5 and 1.0. Determine whether separate widths are supported or what change would be needed; the issue is complete when the behavior or supported solution is established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100