Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency of AxisMax and AxisMin #2826

Open
aelam opened this issue Feb 20, 2017 · 0 comments · May be fixed by #5251
Open

Inconsistency of AxisMax and AxisMin #2826

aelam opened this issue Feb 20, 2017 · 0 comments · May be fixed by #5251

Comments

@aelam
Copy link

aelam commented Feb 20, 2017

Please see the PR in iOS version

When enabled autoScale.
data.calcMinMaxY(fromX: self.lowestVisibleX, toX: self.highestVisibleX) is called after
_leftYAxisRenderer?.computeAxis(min: _leftAxis._axisMinimum, max: _leftAxis._axisMaximum, inverted: _leftAxis.isInverted)
_rightYAxisRenderer?.computeAxis(min: _rightAxis._axisMinimum, max: _rightAxis._axisMaximum, inverted: _rightAxis.isInverted)
_xAxisRenderer?.computeAxis(min: _xAxis._axisMinimum, max: _xAxis._axisMaximum, inverted: false)

that means _leftAxisRenderer and _rightAxisRenderer will render AxisLines and Values based on old values of _axisMinimum, _axisMaximum

ChartsOrg/Charts#2177

@yaugenka yaugenka linked a pull request Jan 26, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant