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

leftAxis and value overlap in lineChartView #2080

Closed
Huang-Libo opened this issue Jan 16, 2017 · 4 comments
Closed

leftAxis and value overlap in lineChartView #2080

Huang-Libo opened this issue Jan 16, 2017 · 4 comments

Comments

@Huang-Libo
Copy link

Huang-Libo commented Jan 16, 2017

I think the first value for lineChart can be draw inside the leftAxis( and same for rightAxis ) to avoid this problem.

img_0046

@liuxuan30
Copy link
Member

Known issues. Currently you can turn on clipValuesToContentEnabled to avoid overlap.

@Huang-Libo
Copy link
Author

clipValuesToContentEnabled seems not work well.

img_0049

I have a better idea to avoid overlap, just set lineChartView.xAxis.axisMinimum to a smaller value, maybe it is useful for some user.

img_0048

@liuxuan30
Copy link
Member

liuxuan30 commented Jan 18, 2017

clipValuesToContentEnabled just clip the label text not to overlap, it solves right :)
setting some margin via axisMinimum is also nice if you don't mind

@gamzerd
Copy link

gamzerd commented Mar 16, 2017

Hi,

I have a problem about clipping. How can I solve it?

screen shot 2017-03-16 at 13 29 29

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