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

Last xAxis label cutting #4023

Closed
iOSVikas opened this issue Jun 11, 2019 · 2 comments
Closed

Last xAxis label cutting #4023

iOSVikas opened this issue Jun 11, 2019 · 2 comments

Comments

@iOSVikas
Copy link

I am using Line Chart view In my demo application.
I have set the axis to bottom of chart view

xAxis values should be displayed properly
It is showing proper values for all labels except last label. Its cutting the text on the last label.
Example:: I want to display “28May”, it displays “28Ma” and half “y”

Charts Environment

Charts version/Branch/Commit Number:
Xcode version: 10.2
Swift version: 4
Platform(s) running Charts: iOS
macOS version running Xcode: 10.14.5

I have not added code to gut hub but I am sharing screenshot indicating issue.
8860543B-D2E8-40FC-8419-1ADE98402DA7

@Silvia4
Copy link

Silvia4 commented Jul 4, 2019

I have the same problem, and using avoidFirstLastClippingEnabled causes misunderstanding in matching labels with values.

@Jigs510
Copy link

Jigs510 commented Aug 20, 2019

 ChartView.extraRightOffset = 30
 ChartView.extraLeftOffset = 10
 ChartView.extraTopOffset = 10

working for me

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

4 participants