Last bar not calculated in ChartDataSet.calcMinMaxY
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Set a simple BarChartView like BarChartTests.
let values = [8, 104, 1000]
chart.autoScaleMinMaxEnabled = true

If set autoScaleMinMaxEnabled = false, then everything ok.
Contributor guide
Research direction
Start with ChartDataSet.calcMinMaxY and reproduce the report using a simple BarChartView like BarChartTests, with values [8, 104, 1000]. Compare autoScaleMinMaxEnabled set to true and false; done means the last bar is included in the calculated min/max range when autoscaling is enabled.
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
- 38/100