title: C# Winform charts, zooming and scale of x axis displaying date and time
body: <p>I have a winform with charts in it, in my code I have already set:</p>
  
  <pre><code>//Enable range selection and zooming end user interface
          this.chart1.ChartAreas["ChartArea1"].CursorX.IsUserEnabled = true;
          this.chart1.ChartAreas["ChartArea1"].CursorY.IsUserEnabled = true;
          this.chart1.ChartAreas["ChartArea1"].CursorX.IsUserSelectionEnabled = true;
          this.chart1.ChartAreas["ChartArea1"].CursorY.IsUserSelectionEnabled = true;
          this.chart1.ChartAreas["ChartArea1"].AxisX.ScaleView.Zoomable = true;
          this.chart1.ChartAreas["ChartArea1"].AxisY.ScaleView.Zoomable = true;
          this.chart1.ChartAreas["ChartArea1"].AxisX.ScrollBar.IsPositionedInside = true;
          this.chart1.ChartAreas["ChartArea1"].AxisY.ScrollBar.IsPositionedInside = true;
  </code></pre>
  
  <p>It zooms upon selection. However, my selections are limited to the gridlines. Moreover, upon selection, there is a red cross, the cross only stays at a fixed x-axis value. How can I modify such the selection does not limit to gridlines/ specific fixed x-axis value?</p>
  
  <p>I have also set the x-axis type to date time, i.e.</p>
  
  <pre><code>this.chart1.Series[chanName].XValueType = ChartValueType.DateTime;
  </code></pre>
  
  <p>However, the x-axis only shows the date, but not time. How can I show both date and time on the x-axis? Thanks!</p>