title: Core Plot generating a flat line, X or Y range incorrect?
body: <p>I am using core plot to plot about 2000 data points.  They load fine, but I only see a smooth line:</p>
  
  <p><img src="https://i.stack.imgur.com/UEBEb.png" alt="alt text"></p>
  
  <p>I am not sure why it is just a flat line rather than showing a graph of all of my values which are in a large range.  Have I done something wrong with setting up the plot space?</p>
  
  <pre><code>CPXYPlotSpace *plotSpace = (CPXYPlotSpace *)graph.defaultPlotSpace;
  plotSpace.allowsUserInteraction = NO;
  plotSpace.xRange = [CPPlotRange plotRangeWithLocation:CPDecimalFromFloat(0.0) length:CPDecimalFromFloat(num_points)];
  plotSpace.yRange = [CPPlotRange plotRangeWithLocation:CPDecimalFromFloat(0.0) length:CPDecimalFromFloat(num_points)];
  </code></pre>
  
  <p>Here is my numberForPlot method as well:</p>
  
  <pre><code>-(NSNumber *)numberForPlot:(CPPlot *)plot field:(NSUInteger)fieldEnum recordIndex:(NSUInteger)index 
  {
      NSNumber *num = [sortedArray objectAtIndex:index];
      return num;
  }
  </code></pre>
  
  <p>Any ideas what I am doing wrong here?</p>