Bar Graphs in c#
<p>I am trying to implement a bar graph in C#. I have two textboxes in which i get data and i want to plot a comparison bar graph for them. For example, i have a original cpu(ocpu) and changed cpu (ccpu) data coming and i want to plot a comparison graph for them.
I am able to do so, as in the picture graph.The blue is original value and orange is changed value. But, i am getting 0,1,2 in the X axis which i don't require. I also dont require the line between those two bars. I have attached the code snippet also that i am using. I have two series called "Original" and "modified" in the graph.</p>

<pre><code>chartcpu.Series["Original"].Points.AddY(ocpu.Text.ToString());
chartcpu.Series["Modified"].Points.AddY(ccpu.Text.ToString());
chartcpu.ChartAreas[0].AxisX.Title = "CPU";
</code></pre>

<p><a href="http://i.stack.imgur.com/vLSSH.png" rel="nofollow">data</a>
<a href="http://i.stack.imgur.com/fOvUl.png" rel="nofollow">graph</a></p>

<p>Please let me know what is a solution to this ?</p>

<p>--Samir Singh</p>