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

How to let y axis line show same space when axisMinimum = 0? #3771

Closed
c1800054work opened this issue Dec 6, 2018 · 2 comments
Closed

How to let y axis line show same space when axisMinimum = 0? #3771

c1800054work opened this issue Dec 6, 2018 · 2 comments

Comments

@c1800054work
Copy link

i want to draw the picture like following pic

2018-12-06 3 43 47

when i set leftAxis.axisMinimum = 0
y axis line has multiple and line doesn't show same space in following pic
(i try to set leftAxis.axisMaximum = 5, but it is same result)

2018-12-06 3 43 53

How to let y axis line show same space when axisMinimum = 0?

**Xcode version:10.0
**Swift version:4.0

@liuxuan30
Copy link
Member

ask on stack overflow.

@c1800054work
Copy link
Author

i find the solution
add rightAxis.axisMinimum = 0

it will show y axis line show same space.

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