I posted this earlier but have just registered on the site today,
I tried using the
YourChartArea.AxisX.IsStartedFromZero = true;
but its still starting at -1 :(
I even tried incremented my Xaxis value (value +1), the data is plotted at point 2 on the X-axis, yet the X-axis is still starting from -1.
Any other suggestions please
Thanks in advance
I think this may help:
Chart1.ChartAreas[0].AxisX.Minimum = 0;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With