title: How to set number of grid lines in nvd3 (angular wrapper)?
body: <p>I am having a nvd3-line-chart using the angular wrapper <a href="http://cmaurer.github.io/angularjs-nvd3-directives/line.chart.html" rel="nofollow">angularjs-nvd3-directives</a>:</p>
  
  <pre><code>&lt;nvd3-line-chart
    data="data"
    height="300"
    rescaleY="true"
    forceY="[1]"
    tooltips="true"
    interactive="true"  
    clipVoronoi="true"
    showLegend="true"
    showXAxis="true"
    showYAxis="true"&gt;
  &lt;/nvd3-line-chart&gt;
  </code></pre>
  
  <p>I would like to set the number of grid lines on the x-axis to a constant value. I tried to do this with the attribute:</p>
  
  <pre><code>xAxisTicks="5"
  </code></pre>
  
  <p>However, this has no effect. The number of grid lines is always the same (automatically set). Doing similar things like e.g. changing the tick-format (with <code>xAxisTickFormat=xxx</code>) does what is expected. I tried debugging this (setting of xaxisticks) but without success.</p>
  
  <p>If anyone knows more about this, I'd appreciate any hints.</p>