LineChartData without x values on constructor Charts Swift 3
<p>I’m using iOS Charts.framework (<a href="https://github.com/danielgindi/Charts" rel="nofollow noreferrer">https://github.com/danielgindi/Charts</a>) in my swift 3.0 xcodeproject. </p>

<p>I know that "All dataset constructors have changed - they do not take an array of x-indices anymore" but how do I put strings on my x axis now if LineChartData doesn't have a "xVals" parameters anymore???
Before was so easy to do that... </p>

<pre><code>let weights: [Double] = self.getWeigths()
let weightDates: [String] = self.getWeightDates()

var yValues : [ChartDataEntry] = [ChartDataEntry]()
    for i in 0 ..&lt; dateLastWeights.count {
        let entry = ChartDataEntry(x: Double(i), y: weights[i])
        yValues.append(entry)
    }
let set: LineChartDataSet = LineChartDataSet(values: yValues, label: "First Set")
var dataSets : [LineChartDataSet] = [LineChartDataSet]()
dataSets.append(set)

let data: LineChartData = LineChartData(xVals: weightDates, dataSets: dataSets)
</code></pre>