title: How can I add a name for each column on ios-chart?
body: <p>I am doing a <code>BarChart</code> with <code>ios-chart</code> library. As it is similar to <code>MPAndroidChart</code> I do not have a lot of problems creating them but I am not able to add a name/label above each column with the days of the week.</p>
  <p>On Android, after setting the values to the respective <code>BarDataSet</code> I used:</p>
  <pre><code>BarData data = new BarData(labels, dataset); 
  </code></pre>
  <p>where labels are the name for each column and dataset is the BarDataSet.</p>
  <p>The problem is that on <code>Swift</code> I cannot find that way to add the labels for each column. This is the code that I have by the moment (a simple example):</p>
  <pre><code>@IBOutlet weak var barChartView: BarChartView!
  
  var entries = [ChartDataEntry]()
  entries.append(BarChartDataEntry(x: 1.0, yValues: [1.0], label: &quot;Monday&quot;))
  entries.append(BarChartDataEntry(x: 2.0, yValues: [4.0], label: &quot;Tuesday&quot;))
      
  let charDataSet = BarChartDataSet(values: entries, label: &quot;legend&quot;)
  let charData = BarChartData(dataSets: [charDataSet])
  barChartView.data = charData
  </code></pre>
  <p>And here is the result:</p>
  <p><a href="https://i.stack.imgur.com/kbE1Y.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kbE1Y.png" alt="enter image description here" /></a></p>
  <p>but I am not able to put <code>Monday</code> and <code>Tuesday</code> values where 1.04, 1.12, 1.20... values appear. Further, I am not able to add the labels on <code>BarChartData</code> function (as on <code>Android</code>).</p>
  <p>Where should I add Monday and Tuesday values to be shown above of each column?</p>
  <p>Thanks in advance!</p>