This library does not support direct alignment from left to right.
Refer - https://github.com/danielgindi/Charts/issues/738
You need to implement something at the library level to make it smooth the alignment from right to left.
Edited Answer
After I worked on this, I found a solution, hope this helps you.
Download sample code
import UIKit class ViewController: UIViewController { @IBOutlet weak var barChartView: BarChartView! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. let months = ["7/23/2016", "7/22/2016", "7/21/2016", "7/20/2016", "7/19/2016", "7/18/2016", "7/17/2016"] let unitsSold = [0.0, 0.0, 0.0, 0.0, 20.0, 50.0, 30.0] setChart(months, values: unitsSold) } func setChart(dataPoints: [String], values: [Double]) { var dataEntries: [BarChartDataEntry] = [] for i in 0..<dataPoints.count { if !values[i].isZero { let dataEntry = BarChartDataEntry(value: values[i], xIndex: i) dataEntries.append(dataEntry) } } let chartDataSet = BarChartDataSet(yVals: dataEntries, label: "") let chartData = BarChartData(xVals: dataPoints, dataSet: chartDataSet) barChartView.data = chartData barChartView.leftAxis.enabled = false barChartView.descriptionText = "" barChartView.xAxis.labelPosition = .Bottom } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }

source share