title: NVD3.js line graphs fail to scale y axis to max and min values
body: <p>Building a page with multiple graphs, I've decided to use NVD3.</p>
  
  <p>The problem is that NVD3 fails to find the maximum value, rendering some useless graphs.</p>
  
  <p><a href="http://jsfiddle.net/pxU8c/" rel="nofollow">http://jsfiddle.net/pxU8c/</a></p>
  
  <pre><code>function renderGraph(parent, data) {
      function getGraph(svgElement, data) {
          var height = 500;
  
          var chart = nv.models.lineChart()
          chart.options({
              noData: "Not enough data to graph",
              transitionDuration: 500,
              showLegend: true,
              showXAxis: true,
              showYAxis: true,
              rightAlignYAxis: false
          });
  
          chart.xAxis     //Chart x-axis settings
              .axisLabel(data['x-label'])
              .tickFormat(function(d) {
                  return d3.time.format('%d.%m.%Y')(new Date(+d))
              });
  
          chart.yAxis     //Chart y-axis settings
              .axisLabel(data['y-label'])
              .tickFormat(d3.format('.02f'))
          ;
  
          svgElement    //Select the &lt;svg&gt; element you want to render the chart in.
              .datum(data['data'])         //Populate the &lt;svg&gt; element with chart data...
              .call(chart);          //Finally, render the chart!
  
          //Update the chart when window resizes.
          nv.utils.windowResize(function() { chart.update() });
          return chart;
      }
      var svgELement = d3.select('svg#chart_'+data['code']);
      nv.addGraph(getGraph(svgELement, data));
  }
  </code></pre>
  
  <p>I'm also using twitter bootstrap for layout, if it helps.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>following fiddle should be more useful since it contains less garbage
  <a href="http://jsfiddle.net/Bh578/" rel="nofollow">http://jsfiddle.net/Bh578/</a></p>
  
  <p>the first and the seconds graphs are displaying the problem while the third is rendered accordingly to my expectations (i.e. you can see the whole line)</p>
  
  <p>I have also added the useInteractiveGuideline: true option so it's more obvious that there are values outside of the visible graph area that I'd like to see on the chart too.</p>