-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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 prevent xAxis values and dataset value get overlapped ? #854
Comments
@danielgindi seems another bug that calculating the legend position not considering wrapping? |
There's no way to know ahead of time how much space you will need, especially considering the visible labels could change when interacting with the chart, and how costly it is to calculate text bounds. So if you suspect that your chart may have really long labels and with word-wrapping enabled - just add extra padding on the bottom. There's a property for that :-) |
ok thanks, can you please let me know from where or which class i can change in code to add padding to solve this issue? |
That's the chart view |
LineChartView.swift ? |
hi thanks issue solved. |
I have enabled public var wordWrapEnabled = true for multiple line labels on xAxis. but now facing problem with xAxis label is overlapping below labels.
![screen shot 2016-03-17 at 5 04 34 pm](https://cloud.githubusercontent.com/assets/17614089/13844957/00256908-ec63-11e5-9add-6bb3f95d61bf.png)
The text was updated successfully, but these errors were encountered: