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 Axis disapeared #3249

Closed
Susanou opened this issue Feb 7, 2018 · 4 comments
Closed

X Axis disapeared #3249

Susanou opened this issue Feb 7, 2018 · 4 comments

Comments

@Susanou
Copy link

Susanou commented Feb 7, 2018

Hello,
I've been trying to fix this issue, in charts 3.4.0 the x-axis was displayed on top with dates but now since I update to 3.5.0 is disappeared.

img_fca79f91b20a-1

@mikeCalvir
Copy link

I have this same issue. I see elsewhere that people can get it to work in 3.0.4, but for me the X-Axis never shows, I have 3.0.4 installed. Everything else works fine. I have two charts, a Line chart and a Combi with line and scatter.

If you find another way that solves this I would be interested :)

@simbo64
Copy link

simbo64 commented Feb 12, 2018

So I too was having this issue with 3.0.5 but not with 3.0.4
What was confusing was I downloaded the demo project and that was working fine, In the end from running a diff and also looking at the commits since 3.0.5 I found the offending line for me to be in the IndexAxisValueFormatter.swift file. Line 56 should be == and not != .
Try changing that and see if it fixes the issue for you.
No idea why this got through the 3.0.5 release and no idea why it causes the issue but changing it has fixed it for me!

@liuxuan30
Copy link
Member

@simbo64 Thanks for helping. Is there a PR for this already? Why I remember I just saw a similar fix of != and == recently.
This will be address in 3.1 release soon. Just let me know if there is a PR or what should I look into

@liuxuan30
Copy link
Member

#3174 it is. Seems already fixed. Please wait for 3.1 or just grab master branch. Sorry for a mistake.

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