-
-
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
Line Chart View not drawn because Date values in xAxis (not sorted Ascending/Descending) ? #2988
Comments
seems you have to make it ordered? I suspect it's because |
@liuxuan30 when I use something like What should I do with |
need to take a look at Xbounds how it calculates form your x values. But I guess we don't support this. imaging a line that will turn back, kind of wierd? |
Thanks for your time man, But I solved it 2 days ago with Feel free to close this issue ! :) |
I'm using version
3.0.2
for swift 3I have this format for the date from the api as
String
:"2017-11-04 16:48:55"
So I convert the string to date through formatter
if I printed the dates array I'll get :
where DateValueFormatter class :
The chartView haven't drawn, because the values not sorted Ascending/Descending
Any ideas how to solve this issue ?
The text was updated successfully, but these errors were encountered: