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 adjust the scale of the y-axis? #51

Open
sphericalwave opened this issue Aug 15, 2018 · 4 comments
Open

How to adjust the scale of the y-axis? #51

sphericalwave opened this issue Aug 15, 2018 · 4 comments

Comments

@sphericalwave
Copy link

sphericalwave commented Aug 15, 2018

Hi, thanks for making this framework.
Wondering if there is a way to adjust the scaling of the y-axis.
I believe i read in the documentation that the linechart automatically handles scaling the height of the y-axis but that doesn't seem to be the case as can be seen in the attached screenshot. In the image below there are about the first value is at coordinates (x=0, y=17) which makes sense if each line of the grid is 10 units.

Any advice?

Thank you.

screen shot 2018-08-15 at 11 06 27 am

@liganerd
Copy link

liganerd commented Oct 4, 2018

Did you have any progress with the y-axis scale? Facing the same issue right now. Thanks

@sphericalwave
Copy link
Author

sphericalwave commented Oct 4, 2018 via email

@liganerd
Copy link

liganerd commented Oct 5, 2018

Dear friend, I found it last night. You should go to line 104 and 105 on linechart.swift
^^

@sphericalwave
Copy link
Author

sphericalwave commented Oct 5, 2018 via email

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