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 to remove Grid #2329

Closed
nodahikaru opened this issue Apr 5, 2017 · 4 comments
Closed

How to remove Grid #2329

nodahikaru opened this issue Apr 5, 2017 · 4 comments

Comments

@nodahikaru
Copy link

nodahikaru commented Apr 5, 2017

I want to remove default grid lines of StackedBarChart in BarChartView background.

@thierryH91200
Copy link
Contributor

try

xAxis.drawGridLinesEnabled = false / true
leftAxis.drawGridLinesEnabled = false / true

@nodahikaru
Copy link
Author

Thanks.
But leftAxis has only one line vertically. How I can remove the line also?

@metrue
Copy link

metrue commented Jul 31, 2021

@nodahikaru
How did you remove the leftAxis left line in the end?

@metrue
Copy link

metrue commented Jul 31, 2021

Find the answer here #3294 (comment)

chartView.leftAxis.axisLineColor = .clear

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

4 participants