title: X-axis to start from 0
body: <p>I know this question has been asked before quite a few times, but no one seems to have come up with a solution (Not that I could find at least).</p>
  
  <p>So, I have a chart for my application and I've added values</p>
  
  <pre><code>chart1.Series["Life"].Points.AddY(1);
  chart1.Series["Life"].Points.AddY(30);
  chart1.Series["Life"].Points.AddY(20);
  chart1.Series["Life"].Points.AddY(50);
  </code></pre>
  
  <p>for which I get a chart like <br>
  <img src="https://i.stack.imgur.com/1ApXg.jpg" alt=""></p>
  
  <p><br>
  Now this is very displeasing to the eye first of all because the X needs to start from the origin.
  So, question 1 - Why is it starting from 1?
  Question 2 - How do I solve this?
  This is the first time I am making a chart in c# so this might sound like a trivial dilemma.</p>
  
  <p>Also, like I mentioned, I did my research and I found that I should do something like</p>
  
  <pre><code>chart1.ChartAreas[0].AxisX.Interval = 0;
  chart1.ChartAreas[0].AxisX.IsStartedFromZero = true;
  chart1.ChartAreas[0].AxisX.Minimum = 0;    //made this -1
  chart1.ChartAreas[0].AxisX.Crossing = 0;   //and this too to -1
  </code></pre>
  
  <p>This didn't work so I decided to play a little with the minimum and crossing by giving them -1. Didn't work. The graph not only moved, but it still starts from 1. HOW?</p>
  
  <p><img src="https://i.stack.imgur.com/C9L7n.jpg" alt=""></p>