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

Mismatch left axis maximum and minimum values #3886

Closed
1 task
ramanocs1145 opened this issue Mar 6, 2019 · 2 comments
Closed
1 task

Mismatch left axis maximum and minimum values #3886

ramanocs1145 opened this issue Mar 6, 2019 · 2 comments

Comments

@ramanocs1145
Copy link

ramanocs1145 commented Mar 6, 2019

ℹ 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?

ℹ Please replace this with what you did.

What did you expect to happen?

ℹ Please replace this with what you expected to happen.

What happened instead?

ℹ Please replace this with of what happened instead.

Charts Environment

Charts version/Branch/Commit Number:
Xcode version:10.1
Swift version:4.2
Platform(s) running Charts:From iOS 11.0
macOS version running Xcode:10.14.3

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.
img_0271

Please check the attached screen shot.

    leftAxis = self.linechartView.leftAxis
    leftAxis.axisMaximum = 10
    leftAxis.axisMinimum =  0

When I was set max and min values static but in output i can saw it without the ascending order and it's duplicate the same value.

@liuxuan30
Copy link
Member

I don't see clear proof that's something wrong. Please use ChartDemo to set it and check if it's your setup issue. Or ask on stack overflow.

So far I don't see there is issue in setting axis max/mins

@ramanocs1145
Copy link
Author

@liuxuan30 Thanks for your information. I found the issue. Sorry it's my bad and the reason when I set IAxisValueFormatter delegate instance to left axis like leftAxis.valueFormatter = axisFormatDelegate.

I think left axis not needed this, so when I remove this and it's working fine.

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