-
-
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
Adding additional X index values without the initWithXVals #1451
Comments
Which version? Chart 3.0 or 2.2.5? Not really understand your issue. |
@liuxuan30 V3.0 This version does not have the xVal initialization method.How to add the xAxis label value? |
@liuxuan30 V3.0, latest commit to master basically. Previously I could initialise a set of X vals then plot a set of Y values with them which meant there could be more X values than Y values. This allowed me to build a graph showing time progression with the ability to show the current date and the distance to the last entry. |
Just set the minimum/maximum value for the |
That worked perfectly, thanks @danielgindi! |
So to get my app working with XCode 8 & Charts I grabbed the source to get to the latest build and managed to get it working, however I need to add X Values that extended past the Y values (to show further into the past and future) so I used the initWithXVals with an array that allowed that to happen and plotted Y vals against that.
Is there anyway to do that with the latest changes?
The text was updated successfully, but these errors were encountered: