Click to See Complete Forum and Search --> : [RESOLVED] Charting in .NET - how to start line graph right on the y-axis?


adj
07-25-2011, 09:20 AM
I am trying to get my line graph to start on the y-axis line instead of starting one in. I'm using 4.0 and the built-in charting.

Please see attached files "Graph_Current" and "Graph_Goal".

Can anyone tell me if this is possible and what setting controls it? Thank you!

adj
07-25-2011, 12:39 PM
Finally figured it out:


myChart.ChartAreas[0].AxisX.IsMarginVisible = false;