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

Half a bar the first one of chart #1666

Closed
Ella-Sun opened this issue Oct 17, 2016 · 2 comments
Closed

Half a bar the first one of chart #1666

Ella-Sun opened this issue Oct 17, 2016 · 2 comments

Comments

@Ella-Sun
Copy link

It appeared the question,such as described below.
I tried to set up many properties, but doesn't work, what should I do?

bug

@Ella-Sun
Copy link
Author

After set this:

double start = 0.5;

    self.chartView.xAxis.axisMinimum = start;
    self.chartView.xAxis.axisMaximum = start + yVals.count;
    self.chartView.xAxis.centerAxisLabelsEnabled = NO;

The charts shows normal.

@liuxuan30
Copy link
Member

try fitBars

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