ChartsOrg/Charts

Incorrect scale of candlestick chart

herman-creator opened this issue · 0 comments

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?

Updated Charts versions and use autoScaleMinMaxEnabled flag for candle charts.

What did you expect to happen?

The graph is increasing as it should.

What happened instead?

Y coordinates of candles on the chart is not corrects.

DGCharts Environment

Charts version: 5.1.0
Xcode version: 15.0.1
Swift version: 5.0
Platform(s) running DGCharts: iOS
macOS version running Xcode: Sonoma 14.1 (23B74

Demo Project

Unfortunately I can not give access to the project, it is intellectual property.

Additional

ClassCandleChartDataSet and method calcMinMaxY has error, after [commit](d2bf08f#diff-df086c25af6cd894be60008cda0440ca052f029dfba15b34a3a0974aa5968c2e
Screenshot 2024-05-05 at 15 00 04
)