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

Remove Y axis border line in Line Graph #3294

Closed
praveenkumar1599 opened this issue Feb 24, 2018 · 1 comment
Closed

Remove Y axis border line in Line Graph #3294

praveenkumar1599 opened this issue Feb 24, 2018 · 1 comment

Comments

@praveenkumar1599
Copy link

praveenkumar1599 commented Feb 24, 2018

Hi Guys,

Am trying to remove the left Axis / Y axis grid line for the chart. But i am unable to do so.
I have used the below line to removeY axis grid lines. But i am unable to remove the first line in the grid.
chartView.xAxis.enabled = false

I would like to display only horizontal Grid lines.

Please help me on this.
screen shot 2018-02-23 at 6 59 33 pm

@praveenkumar1599
Copy link
Author

Found the answer atlast

we can use the below code
chartView.leftAxis.axisLineColor = .clear
screen shot 2018-02-23 at 7 46 14 pm

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

1 participant