title: Enable scrolling in x-axis for chart control
body: <p>I can't seem to enable a scroll bar on x-axis. I'm using the code below to generate the chart.</p>
  
  <pre><code>List&lt;int&gt; xVal = new List&lt;int&gt;();  
  List&lt;int&gt; yVal = new List&lt;int&gt;();  
  for (int i = 0; i &lt;= maxQueuetime ; i++)  
  {  
      xVal.Add(i);  
      yVal.Add(graph2Yaxis[i]);  
  }  
  chart1.ChartAreas["ChartArea1"].AxisX.Interval = 1;  
  chart1.Series[0]["PointWidth"] = "1";  
  chart1.Series[0].Points.DataBindXY(xVal, yVal);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/oDIzI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oDIzI.png" alt="enter image description here"></a></p>