Bar Chart Left-Axis Alignment doesn't match with data
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
* [X] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).
## What did you do?
**Scenario #1**


**Scenario #2**


## What did you expect to happen?
Scenario #1 first bar should end right at the 10.0 axis.
## What happened instead?
Instead it looks like the bar value is 9.0.
## Charts Environment
**Charts version/Branch/Commit Number: 3.0.4**
**Xcode version: Xcode 11.4 Beta**
**Swift version: 5.1**
**Platform(s) running Charts: iOS 13.3**
**macOS version running Xcode: N/A**
## Demo Project
Coded included above
Contributor guide
Research direction
Start by reproducing both scenarios from the screenshots and the included demo project on the reported Charts 3.0.4, Swift 5.1, and iOS 13.3 setup. Trace the bar-chart rendering and left-axis scale entry points to compare the displayed bar end with the 10.0 axis value. Done means the first bar aligns with the expected axis value in both scenarios without regressing other charts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100