ChartsOrg / ChartsOrg/Charts

Last bar not calculated in ChartDataSet.calcMinMaxY

Open
#2,042 5 comments 0 reactions 0 assignees View on GitHub
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

screen shot 2017-01-07 at 2 20 45 pm

If set autoScaleMinMaxEnabled = false, then everything ok.

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.