title: How to show all x-axis tick values in Plotly?
body: <p>I am using this library</p>
  
  <p><a href="https://plot.ly/nodejs/axes/" rel="noreferrer">https://plot.ly/nodejs/axes/</a></p>
  
  <p><strong>to plot graphs in node.js. I have this code:</strong></p>
  
  <pre><code>var data = [
    {
      x: xs,
      y: ys,
      type: "scatter"
    }
  ];
  
  var graphOptions = {filename: "date-axes", fileopt: "overwrite"};
  plotly.plot(data, graphOptions, function (err, msg) {
      console.log(msg);
      console.log("DONE!");
  });
  </code></pre>
  
  <p>to plot a graph with 5000 x-axis points. The problem is that in the rendered image, it x-axis values are not continuously increment by for each value I put. There is a rather large step, for example, if the x-axis labels are</p>
  
  <pre><code>['item1', 'item2', ..., 'item5000']
  </code></pre>
  
  <p>then it outputs with labels</p>
  
  <p><code>['item1', 'item10', ..., 'item5000']</code></p>
  
  <p>All the yaxis points are there, but I just want to see all <code>x-axis</code> labels.</p>
  
  <p>Does anyone know what setting enables this? I assume that they did this by default so the text labels don't overlap each other, but in my case I want to see them all.</p>
  
  <p>Thanks</p>