title: Rounded bars in ios Charts
body: <p>I've created a BarChart using <code>BarChartView</code> from <a href="https://github.com/danielgindi/Charts" rel="noreferrer">ios-Charts</a> but I can't figure out howto add rounded corners to bars. </p>
  
  <p>This is the code that I'm using:</p>
  
  <pre><code>let barChart: BarChartView
  //...
  var xVals = [String]()
  var yVals = [BarChartDataEntry]()
  //...
  
  let set1 = BarChartDataSet(yVals: yVals, label: "Label")
  
  set1.drawValuesEnabled = false
  set1.highlightLineWidth = 3
  set1.colors = [UIColor.whiteColor()]
  
  barChart.data = BarChartData(xVals: xVals, dataSet: set1)
  </code></pre>
  
  <p>I've looked for a property like <code>set1.barCornerRadius</code> to set, but I didn't find anything.</p>
  
  <p>Here is <strong>what I have</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/HSFOE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HSFOE.png" alt="squared bar"></a></p>
  
  <p>Here is <strong>what I need</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/pkSrb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pkSrb.png" alt="rounded bar"></a></p>