Skip to content
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 make HorizontalBarChart dont start at zero? #3453

Closed
1 task done
purplecofe opened this issue May 15, 2018 · 1 comment
Closed
1 task done

How can make HorizontalBarChart dont start at zero? #3453

purplecofe opened this issue May 15, 2018 · 1 comment

Comments

@purplecofe
Copy link

purplecofe commented May 15, 2018

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

I set axisMinimum like below, but it still nothing change

barChartView.leftAxis.axisMinimum = 1
barChartView.rightAxis.axisMinimum = 1

What did you expect to happen?

this is i want
Imgur

What happened instead?

this is current i did, how can i make same like above ?
Imgur

Charts Environment

Charts version/Branch/Commit Number: 3.1.1
Xcode version: Xcode 9.3.1
Swift version: 4.1
Platform(s) running Charts: iOS
macOS version running Xcode: 10.13.4

Demo Project

project full code

@purplecofe purplecofe changed the title How can make HorizontalBarChart dont start at zero? How can make HorizontalBarChart dont start at zero? Editing May 15, 2018
@purplecofe purplecofe changed the title How can make HorizontalBarChart dont start at zero? Editing How can make HorizontalBarChart dont start at zero? May 15, 2018
@liuxuan30
Copy link
Member

liuxuan30 commented Jun 12, 2018

Generally, look and play with ChartsDemo, search old issues and ask on stack overflow. We don't prefer answering general how-to questions here anymore. On SO there are more people to help and you can give the credits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants