You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My xAxis shows date string before, with v2.x; today I update Charts to v3.0, I find that I can only show double value instead, then I set x's values to 1.0, 2.0, 3.0...but the values showed on xAxis are .8, 1.6, 2.4, 3.2......
The text was updated successfully, but these errors were encountered:
Huang-Libo
changed the title
(v3.0 LineChart)
(v3.0 LineChart) xAxis with String/double issue
Sep 19, 2016
Huang-Libo
changed the title
(v3.0 LineChart) xAxis with String/double issue
(v3.0 LineChart) xAxis with String/double label issue
Sep 19, 2016
You just need to use a formatter.
A double can represent any value. If you want to represent a date, you can get the NSTimeInterval of a date. NSTimeInterval is actually a double.
My xAxis shows date string before, with v2.x; today I update Charts to v3.0, I find that I can only show double value instead, then I set x's values to 1.0, 2.0, 3.0...but the values showed on xAxis are .8, 1.6, 2.4, 3.2......
The text was updated successfully, but these errors were encountered: