title: How to configure Core Plot Data Labels with Bindings
body: <p>I'm attempting to set up a pie chart using core plot and bindings.  I can get the chart to display properly using CPTPieChartBindingPieSliceWidthValues</p>
  
  <pre><code>[pieChart bind:CPTPieChartBindingPieSliceWidthValues
      toObject:[self sectorAllocation]
         withKeyPath:@"arrangedObjects.sectorPercentage"
             options:nil];
  </code></pre>
  
  <p>(sectorAllocation is a NSArray Controller)</p>
  
  <p>Similarly I tried bind data labels using CPTPlotBindingDataLabels</p>
  
  <pre><code>[pieChart bind:CPTPlotBindingDataLabels
            toObject:[self sectorAllocation]
         withKeyPath:@"arrangedObjects.sectorName"
             options:nil];
  </code></pre>
  
  <p>(sectorName is a NSString value)</p>
  
  <p>However this doesn't seem to work i receive the following error in the console</p>
  
  <blockquote>
    <p>[__NSCFString setShadow:]: unrecognized selector sent to instance
    0x60800023fb00</p>
  </blockquote>
  
  <p>It seems it doesn't like a string object, so how would i go about this? and what type of object is it looking for?</p>