title: ios-charts PieChart's label (legends) missing
body: <p>I am trying to implement pie chart from ios-charts library everything is working great, however I am missing legends from the graph -</p>
  
  <p><a href="https://i.stack.imgur.com/BNA7e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BNA7e.png" alt="enter image description here"></a></p>
  
  <p>Here is my code - </p>
  
  <pre><code>// This is the delegate method for creating data for chart
          func offDaysDidLoaded(controller: DataModel,chartArray:[PFObject]) {
  
  
                  let formatter = NSDateFormatter()
                  formatter.dateFormat = "MMM"
                  dataDict = [:]
                  for od in chartArray {
                      let date = od["Date"] as! NSDate
                      let month = formatter.stringFromDate(date)
                      if self.dateDict.indexForKey(month) != nil {
                          self.dateDict[month]! += 1.0
                      }else{
                          self.dateDict.updateValue(1.0, forKey: month)
                      }
                  }
                  let dataPointArray = Array(dateDict.keys)
                  let valuesArray = Array(dateDict.values)
                  pieChartView.data = nil
                  pieChartView.backgroundColor = UIColor.grayColor()
                  setChart(dataPointArray, values: valuesArray)
              }
  
  
  func setChart(dataPoints: [String], values: [Double]) {
      var dataEntries: [ChartDataEntry] = []
      for i in 0..&lt;dataPoints.count {
  
          let dataEntry = ChartDataEntry(value: values[i], xIndex: i)
          dataEntries.append(dataEntry)
      }
  
      let pieChartDataSet = PieChartDataSet(yVals: dataEntries, label: "Months")
  
      let pieChartData = PieChartData(xVals: dataPoints, dataSet: pieChartDataSet)
      pieChartData.setDrawValues(false)
      pieChartView.data = pieChartData
      pieChartView.animate(xAxisDuration: NSTimeInterval(5))
  
      var colors: [UIColor] = []
  
      for _ in 0..&lt;dataPoints.count {
          let red = Double(arc4random_uniform(256))
          let green = Double(arc4random_uniform(256))
          let blue = Double(arc4random_uniform(256))
  
          let color = UIColor(red: CGFloat(red/255), green: CGFloat(green/255), blue: CGFloat(blue/255), alpha: 1)
          colors.append(color)
      }
  
      pieChartDataSet.colors = colors
  
  }
  </code></pre>
  
  <p>I have seen similar issue in <a href="https://stackoverflow.com/questions/32970306/piechart-for-ios-charts-broken-in-swift-2-0">here</a> and build and run, pie chart used in the issue also doesn't show any legends below the chart. Any help or pointer would be really appreciated. </p>
  
  <p>Thanks</p>