title: nvd3 - force all xaxis labels to show on line chart
body: <p>how can I force all xAxis labels to show up on my graph without defining each tick via .tickvalues ?</p>
  
  <p>I'm totally new to nvd3 and this is my first try.
  Maybe there is someone with a good heart who can have a look at my code and help me out.
  I did my research but nothing worked for me.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>var data = [
    {
  "key": "www.WebsiteA.com",
  "values": [ 
  
  {date:"20151221",rank:1},
  {date:"20151222",rank:3},
  {date:"20151223",rank:2},
  {date:"20151224",rank:4},
  {date:"20151225",rank:2},
  {date:"20151226",rank:5},
  {date:"20151227",rank:3},
  {date:"20151228",rank:2},
  {date:"20151229",rank:2},
  {date:"20151230",rank:1},
  {date:"20151231",rank:2},
  {date:"20160101",rank:4},
  {date:"20160102",rank:5},
  {date:"20160103",rank:3},
  
  ] },
  
  
     {
  "key": "www.WebsiteB.com",
  "values": [ 
  
  {date:"20151221",rank:2},
  {date:"20151222",rank:1},
  {date:"20151223",rank:3},
  {date:"20151224",rank:5},
  {date:"20151225",rank:1},
  {date:"20151226",rank:4},
  {date:"20151227",rank:1},
  {date:"20151228",rank:5},
  {date:"20151229",rank:3},
  {date:"20151230",rank:4},
  {date:"20151231",rank:2},
  {date:"20160101",rank:1},
  {date:"20160102",rank:3},
  {date:"20160103",rank:2},
  
  ] },   
   ]
  
  
  
  nv.addGraph(function() {
  
  
    var chart = nv.models.lineChart()
  
    .x(function(d) {return d3.time.format("%Y%m%d").parse(d.date) })
    .y(function(d) {return d.rank})
    .yDomain([6, 1])  
    .color(d3.scale.category10().range())
    .useInteractiveGuideline(true)
    .margin({left: 100})
    .margin({right: 50})
    .margin({bottom: 100}) 
      ;
  
  
  
  
  chart.legend.margin({top: 10, right:60, left:80, bottom: 100});
  
  chart.xAxis
    .tickFormat(function(d) {return d3.time.format('%Y-%m-%d')(new Date(d)) })
    .rotateLabels(-45)
    ;
  
   chart.xScale(d3.time.scale()); //fixes misalignment of timescale with line graph
  
    chart.yAxis
      .axisLabel('Rank')
      .tickFormat(d3.format('d'))
    ;
  
  
  
    d3.select('#chart svg')
      .datum(data)
      .transition().duration(500)
      .call(chart)
      ;
  
   nv.utils.windowResize(chart.update);
  
    return chart;
  });
  </code></pre>
  
  <p>You can find the fiddle here: <a href="http://jsfiddle.net/Marei/1azqmx1L/3/" rel="nofollow">http://jsfiddle.net/Marei/1azqmx1L/3/</a></p>
  
  <p>Thank you!</p>