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

X labels that display in 3.0.4 are not rendered in 3.0.5 #4165

Closed
kulkarnij opened this issue Oct 5, 2019 · 0 comments
Closed

X labels that display in 3.0.4 are not rendered in 3.0.5 #4165

kulkarnij opened this issue Oct 5, 2019 · 0 comments

Comments

@kulkarnij
Copy link

kulkarnij commented Oct 5, 2019

What did you do?

I updated pods which installed 3.0.5 instead of 3.0.4

What did you expect to happen?

I use barcharts, The snippet below displayed x-axis labels correctly.:
barChartView.xAxis.valueFormatter = IndexAxisValueFormatter(values: triggerValues)
barChartView.xAxis.granularity = 1
barChartView.xAxis.labelFont = UIFont(name: myFont, size: 15)!
....
.....
barChartView.xAxis.labelRotationAngle = 0
barChartView.xAxis.wordWrapEnabled = true
.....
.....
barChartView.setNeedsDisplay()

What happened instead?

However the labels were not displayed with 3.0.5, I could see that they were laid out since I could create space in their place by changing font size to 100, so looks like a rendering issue.
I could restore the functionality simply by reverting to 3.0.4 w/o any other changes.

Charts Environment

Charts version/Branch/Commit Number: 3.0.5 Commit: Do not know
Xcode version: 10.1
Swift version: 3, but charts was compiled with 4
Platform(s) running Charts: Simulator, real iPhone 7
macOS version running Xcode: 10.14.6

Demo Project

I will not be able to supply a demo project.

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