-
-
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
Create Simple Bar Chart #2749
Comments
Not sure how you're getting a nil, I copied your code into my demo and it works just fine.
You must be doing something wrong...recheck your code |
your graph doesn't show the months on the x-axis. |
@martheli: that was just an example based on the code you showed, I can only go based off what you have shown if you are receiving a nil somewhere else, show me the whole function where it's receiving a nil |
@martheli glad you figured it out 👍 |
do you know if there is a simple way to remove the Y axis on the right hand side of the graph? id like the Y axis labels to only show up on the left side of the graph. |
Now use that as reference and apply it to your swift code. If you want to change things, play around with the Charts demo and you'll start to figure out how the charts are displayed the way they are. |
It is not working for me it shows no chart data available. please help me out. I am very worry about my final year project and it is totally graph projects. |
How you delete the numbers above each bar? |
I have been looking all over the place and theres no where where theres an example of how to create a simple bar graph in Swift 3. So far I have this but am getting nil errors. Does anyone have any documentation on how to make simple bar graphs with Swift 3?
The text was updated successfully, but these errors were encountered: