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

setAvoidFirstLastClipping still clips last label #3393

Open
Styx665 opened this issue Aug 31, 2017 · 7 comments
Open

setAvoidFirstLastClipping still clips last label #3393

Styx665 opened this issue Aug 31, 2017 · 7 comments

Comments

@Styx665
Copy link

Styx665 commented Aug 31, 2017

Hi,
this is a really great Project but unfortunately the setAvoidFirstLastClipping-Method seems to not work correctly. The first Label placement is correct but the last label is not, as you can see:
setavoidfirstlastclipping_issue

Here the corresponding Code for my Chart-styling:

lineChart.getAxisRight().setEnabled(false);
lineChart.getXAxis().setPosition(XAxis.XAxisPosition.BOTTOM);
lineChart.getXAxis().setAvoidFirstLastClipping(true);
lineChart.getXAxis().setValueFormatter(new MyValueFormatter(getApplicationContext()));

Did I made something wrong or is it a Bug?

@Wilshion
Copy link

Hi
I have the same question ,i am wondering that have u solved this? @Styx665

@Styx665
Copy link
Author

Styx665 commented Dec 13, 2017

@Wilshion Nope, it's still like this.

@slavasav
Copy link

slavasav commented Feb 2, 2018

Same problem here. Using IndexAxisValueFormatter.

@ABouretz
Copy link

+1

1 similar comment
@tanranran
Copy link

+1

@pengguanming
Copy link

Same problem here.

@MoonWolf125
Copy link

Issue was brought forward in #3819, merged in #3820, and should be included in 3.1.0

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

7 participants