-
-
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
How can I display the x Axis values on a LineChartView? #1625
Comments
xVals is array.Save Axis value. |
#1474 |
Hello, I wasn't able to make it work. This is what I did
I also tried to add the values directly to the axis like this, but it doesn't work either:
Any other tips? |
@liuxuan30 The first thing I did was to try ChartsDemo, but it seems like the xAxis is being added automatically. |
If you really tried ChartsDemo and played with it, you will find and then I don't know where is |
http://stackoverflow.com/questions/40470604/linechartdata-without-x-values-on-constructor-charts-swift-3 The answer to this question solved the issue for me |
Hello, I am able to displays the yAxis values but I haven't figured out how to show the xAxis values.
Here is a pictures of my graph:
Here is my code so far, as you can see I have been trying everything:
The chart is a LineChartView
Thank you so much
P.S. I am using tag v2.2.5, swift 2.3 in xcode 8.
The text was updated successfully, but these errors were encountered: