ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Apache License 2.0
27.43k stars 5.97k forks source link

CandleStickChart auto scaling min/max is not working correctly #5155

Open mithril1992 opened 4 months ago

mithril1992 commented 4 months ago

What did you do?

CandleStickChart auto scaling min/max is not working correctly.

What did you expect to happen?

If isAutoScalingMinMaxEnabled was true, we can see entire values from min shadowL to max shadowH of visible entries.

What happened instead?

We can only some part of values.

Simulator Screenshot - iPhone 15 Pro - 2024-03-13 at 22 30 57

DGCharts Environment

DGCharts version/Branch/Commit Number: Xcode version: 15.0.1 Swift version: 5 Platform(s) running DGCharts: iOS macOS version running Xcode: 14.3.1(23D60)

Demo Project

https://github.com/mithril1992/ChartsBugReproduction