ChartsOrg / ChartsOrg/Charts

_leftAxisMax/Min, YMax/Min, _rightAxisMax/Min of data should not be changed based on VisibleXRange

Open
#2,187 2 comments 0 reactions 0 assignees View on GitHub
idea
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

When `autoScaleMinMaxEnabled` is true
autoScale() could change there values based on the visible x range.

I'm thinking `ChartData` doesn't need to know what the visible x-range is. and the XMin, XMax, YMin, YMax of data shouldn't be effected by visible range of ChartView

the Left/RightMin/Max should be stored in `ChartView` or a brand-new class which is a property of `ChartView`
`ChartData` can still provide an API for calculating the minMaxY_leftAxisMax/Min YMax/Min, _rightAxisMax/Min based on visibleXRange but don't store them in it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.