title: how to change the range of xaxis of google column chart?
body: <p>I am using google column chart to create a column chart as shown below:</p>
  <pre><code>const chart = new google.visualization.ColumnChart(chartDiv); // Extract the data from which to populate the chart.
  
          chart.draw(data, {
            height: 300,
            legend: &quot;none&quot;,
            // @ts-ignore TODO(jpoehnelt) check versions
              titleY: &quot;Elevation (Meters)&quot;,
              titleX: &quot;Distance (Miles)&quot;
  
          });
  </code></pre>
  <p>The one problem is the values in xaxis. How can i only show 5 values for eg. 1, 2, 3, 4, 5? The xaxes values that are marked in red is populated densely. How to divide into 5 sections? Thanks for the help!</p>
  <p><a href="https://i.stack.imgur.com/6UaWe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6UaWe.png" alt="enter image description here" /></a></p>