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

ChartV3 autoScaleMinMaxEnabled not scaling candle charts correctly. #1442

Closed
moon47usaco opened this issue Sep 15, 2016 · 1 comment
Closed

Comments

@moon47usaco
Copy link

moon47usaco commented Sep 15, 2016

Version 3 from https://github.com/danielgindi/Charts/tree/Swift3.0-ChartV3.

When I have combinedChartView.autoScaleMinMaxEnabled = true in version 3 it does not appear to be taking into account the highs and lows of the candles.

It is also scaled really tight to where the absolute MinMax is right up against the views bounds. It should provide just a little padding as version 2 does.

Screens:

V2 correct scale:
v2

V3 high and low extremes are cut off:
v3

V3 plot of high and low extremes of same data, MinMax of visible right against view, needs padding:
v3zig

@danielgindi
Copy link
Collaborator

The bug with candle charts has been fixed, but regarding extra spacing you can adjust that yourself through the several methods available (i.e. spaceTop/spaceBottom/extraOffsets)

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

No branches or pull requests

2 participants