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

Didn't show last Y Axis #1645

Closed
gwming0601 opened this issue Oct 11, 2016 · 6 comments
Closed

Didn't show last Y Axis #1645

gwming0601 opened this issue Oct 11, 2016 · 6 comments

Comments

@gwming0601
Copy link

Hi, guys.
I can't see last y axis. What is the problem. Please help me.
image

@WYZKirk
Copy link

WYZKirk commented Oct 12, 2016

I have this problem too.The last yAxis didnot show on LineChartView.
linecharts

@gwming0601
Copy link
Author

@WYZKirk , Thanks for your comment.

@liuxuan30
Copy link
Member

Chart 3.0 right?

@WYZKirk
Copy link

WYZKirk commented Oct 12, 2016

Yes

@gwming0601
Copy link
Author

gwming0601 commented Oct 12, 2016

@liuxuan30 , I am using Charts 2.2.5
And, I have solved this problem to add right axis without labels.

        let rightAxis = chart.rightAxis
        rightAxis.enabled = true
        rightAxis.axisMaxValue = yAxis.axisMaxValue
        rightAxis.axisMinValue = yAxis.axisMinValue
        rightAxis.drawGridLinesEnabled = false
        rightAxis.drawLabelsEnabled = false

So, result is follow.
image

@liuxuan30
Copy link
Member

For 2.2.5, please refer ChartsDemo, it should be your setup problems.
For 3.0, it's a known issue #1323

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

3 participants