title: iOS-Charts drawing values below circle
body: <p>I'm using Daniel Gindi's Charts. In normal, values are above the circles;</p>
  
  <p><a href="https://i.stack.imgur.com/VU9ii.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VU9ii.png" alt="values above the circles"></a></p>
  
  <p>1- But I need to pull down the values/labels to below of circles, when there is no enough space for label (because of lines)</p>
  
  <p>2- I need to give extra offset between circle and label/value.</p>
  
  <p>3- I need to show circle on only first and last values.</p>
  
  <p>I'm using <strong>valueFormatter</strong> for dataset delegate. I can reach it with</p>
  
  <pre><code>-(NSString *)stringForValue:(double)value entry:(ChartDataEntry *)entry 
  dataSetIndex:(NSInteger)dataSetIndex viewPortHandler:
  (ChartViewPortHandler *)viewPortHandler{
  if (entry.x==0||entry.x==myArray.count-1) {
      NSInteger index = [NSNumber numberWithDouble:value].integerValue;
      return [NSString stringWithFormat:@"%ld",(long)index];
  } else {
      return @"";
  }
  </code></pre>
  
  <p>But I don't know what to do.</p>
  
  <p>Thanks in advance.</p>