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

Bar chart "floats" above x-axis when axisMinValue set to 0 #1506

Closed
narciero opened this issue Sep 21, 2016 · 4 comments
Closed

Bar chart "floats" above x-axis when axisMinValue set to 0 #1506

narciero opened this issue Sep 21, 2016 · 4 comments

Comments

@narciero
Copy link

I am using branch 2.2.5-Swift3.0 in Xcode 8...everything worked fine in v2.2.5 (swift 2.2) however once i migrated to swift 3 i get this odd behavior - nothing in the chart has changed. I simply changed alwaysStartAtZero to rightAxis.axisMinValue = 0

screen shot 2016-09-20 at 9 38 52 pm

@danielgindi
Copy link
Collaborator

Do you have leftAxis enabled as well? If so, either disable it, or set a matching axisMinValue

@narciero
Copy link
Author

I have leftAxis.enabled set to false. I will post all the values I have set

On Sep 20, 2016, at 11:54 PM, Daniel Cohen Gindi notifications@github.com wrote:

Do you have leftAxis enabled as well? If so, either disable it, or set a matching axisMinValue


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@liuxuan30
Copy link
Member

did you set axisDependency to right ?

@narciero
Copy link
Author

@liuxuan30 that did the trick, thanks!

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

3 participants