title: how to display values on chart graph using c#
body: <p>I need to display points values in chart graph 
  when I tried the result was </p>
  
  <p><a href="https://i.stack.imgur.com/KBy8L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KBy8L.png" alt="enter image description here"></a></p>
  
  <p>But I want it like </p>
  
  <p><a href="https://i.stack.imgur.com/PTkpB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PTkpB.png" alt="enter image description here"></a></p>
  
  <p>My code is </p>
  
  <pre><code>SqlCommand territorycommand = new SqlCommand("select Terriotry,TotalAcheivmentVol,Forecast from ForecastTotal where Year = '" + DateTime.Now.Year.ToString() + "' and Terriotry = '" + territory + "' and month = '"+Month+"'", conn);
                      try
                      {
                          conn.Open();
                          mydatareader = territorycommand.ExecuteReader();
                          while (mydatareader.Read())
                          {
                              chart1.Series["TotalAchievment"].Points.AddXY(mydatareader.GetString(0), mydatareader.GetInt32(1));
                              chart1.Series["Forecast"].Points.AddY(mydatareader.GetInt32(2));
                              chart1.ChartAreas[0].AxisX.LabelStyle.Interval = 1;
                              chart1.ChartAreas[0].AxisX.Interval = 1;
  
                          }
                      }
                      catch (Exception ex)
                      {
                          MessageBox.Show(ex.Message);
                      }
                      conn.Close();
  </code></pre>
  
  <p>Is this possible ?</p>