I did try setting
let xAxis:ChartXAxis = barChartView.xAxis
xAxis.drawAxisLineEnabled = false
xAxis.drawGridLinesEnabled = false
but this doesnot seems to work.

This is what i have right now.
I am trying to achieve

Could somebody help.
Thank you in advance.
Try set leftAxis and rightAxis
Thank you so much.
It worked :)
Is there a way i can enable gridlines at specific locations?
Use limit lines like so:
let limitLine = ChartLimitLine(limit: 0, label: "")
limitLine.lineColor = UIColor.blackColor().colorWithAlphaComponent(0.3)
limitLine.lineWidth = 1
barChart.rightAxis.addLimitLine(limitLine)
Thank you.
@LekhaP can you please share how you resolve that issue? Thanks!!!
how do I remove just the vertical lines?
@LekhaP Can you share the solution?
@LekhaP Please share how to set bar labels
Try set
leftAxisandrightAxis
Can you share the solution?
@here Also can someone share solution to hide all the values and show only graph
Most helpful comment
Use limit lines like so:
let limitLine = ChartLimitLine(limit: 0, label: "")
limitLine.lineColor = UIColor.blackColor().colorWithAlphaComponent(0.3)
limitLine.lineWidth = 1
barChart.rightAxis.addLimitLine(limitLine)