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

Right and left margins #1942

Closed
delox opened this issue Dec 9, 2016 · 1 comment
Closed

Right and left margins #1942

delox opened this issue Dec 9, 2016 · 1 comment

Comments

@delox
Copy link

delox commented Dec 9, 2016

Is there a way to make a chartView fill the screen? Right now my view is constrained (0) to the left and right of the viewcontroller but there's still a gap left by the graph's drawing in both the left and the right, how do I avoid this?

I inspected the UI and the chart view is clearly taking up the whole space, it's the drawing that leaves the left and right margins

@liuxuan30
Copy link
Member

minOffset default is 10. You can try. extraLeftOffset extraRightOffset is also can be used. However, I think you should give some margin by default.

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